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

Help!!! RuntimeError: Numpy is not available #25

Open
qxq0920 opened this issue May 9, 2022 · 3 comments
Open

Help!!! RuntimeError: Numpy is not available #25

qxq0920 opened this issue May 9, 2022 · 3 comments

Comments

@qxq0920
Copy link

qxq0920 commented May 9, 2022

Generating frames

0%| | 0/16 [00:33<?, ?it/s]
Traceback (most recent call last):
File "D:\myproject\deep-music-visualizer-master\visualize.py", line 554, in
output_cpu = output.cpu().data.numpy()
RuntimeError: Numpy is not available

@hubortje
Copy link

hubortje commented May 9, 2022

Hey there,
it seems like you've failed to import numpy. Are you running the script in an anaconda environment (highly recommended) or just simply running the script?
For the latter, try importing numpy via the command line and pip.

@qxq0920
Copy link
Author

qxq0920 commented May 9, 2022

Hey there, it seems like you've failed to import numpy. Are you running the script in an anaconda environment (highly recommended) or just simply running the script? For the latter, try importing numpy via the command line and pip.

I run it on the script ,and i have already imported numpy.The numpy version is 1.21.6

@hubortje
Copy link

hubortje commented May 9, 2022

But did you import it in the script or into your python installation?
The latter should be the case, and therefor you should import numpy via the python pip command prior to running the script.

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

2 participants