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

Import Issue with 'imresize' #18

Open
vedatimeri opened this issue Jan 8, 2024 · 0 comments
Open

Import Issue with 'imresize' #18

vedatimeri opened this issue Jan 8, 2024 · 0 comments

Comments

@vedatimeri
Copy link

Checking all available modules
cannot import name 'imresize' from 'scipy.misc' (/home/vedat/CountSeg/venv/lib/python3.8/site-packages/scipy/misc/init.py). The package "prm" under namespace "prm" could not be imported. Try to execute "pip install scipy>=1.0.1" to install the missing dependency.
The annotation type torch.Tensor is not supported. The package "losses" under namespace "pytorch" could not be imported.

I have this problem because imresize not exist at scipy.misc. I do everything in right way to install this.
Is there a recent change in the use of 'imresize' from 'scipy.misc' in the latest version of 'scipy'?
Is there any solution implemented in 'prm' for this problem?
Can you suggest any other alternative to 'imresize' that can be used instead of 'scipy.misc'?

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