Comments (2)
Ok I found a solution.
With " python -m pip install torch==1.7.1 -f https://download.pytorch.org/whl/torch_stable.html" I got torch installed.
But now the next problem:
"ImportError: cannot import name 'toimage' from 'scipy.misc' (C:\Users\Niklas\AppData\Local\Programs\Python\Python39\lib\site-packages\scipy\misc_init_.py)"
Can someone help me with this?
from deep-music-visualizer.
Hey there,
the scipy.misc module is deprecated. It is recommend to use the Image module of PIL instead. The function Image.fromarray() is corresponding to the scipy.misc.toimage() function.
A possible workaround is to port the original function, as explained in this stackoverflow thread.
Make sure you've imported numpy as np and image from PIL, delete the line saying from scipy.misc import toimage
. Copy and paste the function code (without the first two lines where the imports are declared) and paste them in line 11 of the visualize.py.
from deep-music-visualizer.
Related Issues (20)
- I cant seem to get the code to work HOT 4
- Can't install the dependencies HOT 3
- errors with gcloud vm in tutorial --resolution 512 HOT 1
- Syntax Error/invalid syntax HOT 4
- TypeError: must be real number, not NoneType when writing with moviepy HOT 9
- Exit error code 1 HOT 1
- scipy won't install on MacOS HOT 5
- Works fine on windows using 3.7 mini conda environment! -How to replace BigGan model with pkl file....???
- Please how do you set a Random Seed
- Export Previously Used Classes HOT 4
- Has any one tried with audio with duration more than 4 minutes. HOT 2
- Can't get it to work. And have little idea about python HOT 1
- Help!!! RuntimeError: Numpy is not available HOT 3
- HELP!!!
- OSError: sndfile library not found HOT 1
- Cuda error with 3090 HOT 1
- Running on GPU HOT 1
- command not found: librosa HOT 2
- IMPORTANT: Repository is not maintained
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-music-visualizer.