Getting RuntimeError: boundary mode not supported

I wrote code as below and everything seems to be working file. Am getting expected out put for below code snippet.

However, when I run the next cell, I get “RuntimeError: boundary mode not supported”
as below :


Generally, This issue raises in skimage.transform.resize to prevented the use of anti_aliasing with some modes.

I think the post doesn’t belong to course2 week 2 please check it so that mentors can help resolve the issue

This is from week2 itself, the problem was resolved when I removed ‘fill_mode’ = ‘nearest’ parameter.

2 Likes