Comments (10)
It very well might be a bug in what was a very early version of Keras. I would highly recommend upgrading.
I've already gone through the pain of doing so for you, actually. I have a branch in my fork that includes only the Keras upgrade and none of my later modifications.
Correction: It does include a few of my modifications, but nothing terribly significant.
from gruv.
Thanks for the help! So what version of keras should I be using?
Cause when I revised those three programs using your code I get this error now.
Traceback (most recent call last):
File "C:\Python27\GRUV-master\train.py", line 5, in
import nn_utils.network_utils as network_utils
File "C:\Python27\GRUV-master\nn_utils\network_utils.py", line 2, in
from keras.layers import TimeDistributed, Dense, LSTM, GRU
ImportError: cannot import name TimeDistributed
I was under the impression that these methods were only used in versions of keras later than 0.1.0. Just let me know what you think of this. Thanks again bgroenks96
from gruv.
If you use my updated code, you should have the latest version of Keras available from pip installed.
from gruv.
When using your code with the latest version of keras installed which is 2.1.3 I get this new error.
usage: train.py [-h] [-e EPOCHS] [-b BATCH] current_iteration num_iterations
train.py: error: too few arguments
Any Ideas?
from gruv.
One of the other changes I made early on was adding a command line interface. That earlier version requires you to supply the current iteration you want to start on and the number of iterations to perform.
So to run 10 iterations starting at iteration 0: python train.py 0 10
You're free to remove that and just use hardcoded values instead, of course.
from gruv.
I recommend that you review the total diff between that branch and the original GRUV code to get a better understanding of what changed and what you might want to change yourself.
from gruv.
I feel so stupid I didnt realize you provided an interface. The original program had 50 iterations hardcoded in. Ill try that out tonight it may already be working and I was just being dumb.
from gruv.
I was able to get a successful run after I added two empty files in the datasets folder. The way your code worked I needed a folder called gen and one called train to properly parse the file paths. Now all I got to do is get theano to use my gpu instead of my cpu and I will be good for another training session. Thanks again.
from gruv.
I would recommend that you use the TensorFlow backend. I went down the rabbit hole of trying to get Theano to use my GPU, and it never worked. TensorFlow worked pretty much out of the box.
from gruv.
Damn I wish I looked at this comment a couple hours ago. I have literally spent this entire time trying to get Theano to work on my GPU to no avail lol. Im going to switch to anaconda using python35 so I can use TensorFlow cause stopped supporting TensorFlow for python27.
from gruv.
Related Issues (20)
- Exception: Layer timedistributeddense_1 requires to know the length of its input, but it could not be inferred automatically. HOT 7
- parse_files.py:72: ComplexWarning: Casting complex values to real discards the imaginary part HOT 2
- CPU not GPU HOT 1
- How to continue training process? HOT 4
- How to continue training without losing the song structure | hidden_dimension_size handling
- local variable 'epoch_logs' referenced before assignment HOT 1
- Exception: Compilation failed (return status=1)
- Is training process being persisted?
- I can't run convert_directory.py successfully HOT 1
- python convert_directory.py HOT 6
- AssertionError HOT 3
- generation after trainig - empty wav file HOT 2
- Error on training
- Generation shape issue
- slice indeces must be integers HOT 2
- name 'xrange' is not defined HOT 4
- 'sox' is not recognized as an internal or external command, operable program or batch file.
- struggling to install lame HOT 1
- It would be great to have a docker image (or similar)
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 gruv.