CSAILVision / CSAILVision/places365

imresize removed from scipy 1.13 breaking run_placesCNN_unified.py

Open
#66 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

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))
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.