Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imresize removed from scipy 1.13 breaking run_placesCNN_unified.py #66

Open
Yesat opened this issue Jul 22, 2019 · 0 comments
Open

imresize removed from scipy 1.13 breaking run_placesCNN_unified.py #66

Yesat opened this issue Jul 22, 2019 · 0 comments

Comments

@Yesat
Copy link

Yesat commented Jul 22, 2019

Hello,
As scipy.misc.imresize has been removed, returnCAM is broken.
It can be fixed by using PIL method for resizing.

From:

72        output_cam.append(imresize(cam_img, size_upsample))

to

72        output_cam.append(Image.fromarray(cam_img).resize(size_upsample))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant