Comments (3)
I have also got the same error. If you find the solution, please let me know as well... :(
from deep_complex_networks.
So I had this same problem. What the file is trying to do is import a local package (one of the ones downloaded) but it doesn't know where to find it. In Train.py
if you change this:
import musicnet.models.complex
to this:
import sys
# Change this to your own equivalent path
path = '/home/oisin/deep_complex_networks/musicnet'
if path not in sys.path:
sys.path.insert(0, path)
import musicnet.models.complex
it gets rid of that error, but gives a new (but similar) error:
ImportError: No module named 'bn'
which can be dealt with by first changing (deep_complex_networks/musicnet/musicnet/models/complex/
)
from complexnn import ComplexConv1D, ComplexBN, ComplexDense, GetReal
to
import sys
# Again change this to your own equivalent path
path = '/home/oisin/deep_complex_networks'
if path not in sys.path:
sys.path.insert(0, path)
from complexnn import ComplexConv1D, ComplexBN, ComplexDense, GetReal
and then changing (in deep_complex_networks/complexnn/_init_.py
)
import bn, conv, dense, fft, init, norm, pool
to
from . import bn, conv, dense, fft, init, norm, pool
from deep_complex_networks.
@weibo053 and @handale88: Also make sure you are in the deep_complex_networks-master/musicnet
directory and not just in deep_complex_networks-master
. Have you both solved this issue yet?
from deep_complex_networks.
Related Issues (20)
- Mímir IOError HOT 2
- inverse_st HOT 2
- Windows support HOT 1
- utilsextension DLL load failed HOT 1
- [Feature request] deconvolution layer HOT 2
- modReLU, CreLU, zReLU are absent? HOT 12
- Anybody port this to TensorFlow or Pytorch? HOT 8
- Typo in readme example leads to zero division or input size 0 errors
- questions about transformation of tensor shape in Conv2d HOT 1
- Fourier argument question & comparison of shallow vs. deep complex models
- ValueError: Error when checking target: expected complex_dense_1 to have shape (None, 48) but got array with shape (38400, 24) HOT 1
- GetReal not working HOT 1
- modReLU HOT 2
- AttributeError: 'module' object has no attribute 'Logger' HOT 4
- Question concerning weight initialization.
- Has the plural neural network been doing plural work?
- About the version of library to be imported HOT 3
- Using your own dataset. HOT 1
- Is the learn imaginary data really work?
- different shape tensors
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_complex_networks.