Comments (4)
GPU support isn't working... :(
Using Theano backend.
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.
Namespace(batch_size_train=128, dataset='', ext='', length=50, midi_file=None, name='deepbach', num_dense=200, num_iterations=20000, num_units_lstm=[200, 200], num_val_samples=1280, output_file='', overwrite=False, parallel=1, reharmonization=None, samples_per_epoch=89600, timesteps=16, train=0)
X:\Python\lib\site-packages\keras-1.2.0-py3.5.egg\keras\engine\topology.py:368: UserWarning: The `regularizers` property of layers/models is deprecated. Regularization losses are now managed via the `losses` layer/model property.
warnings.warn('The `regularizers` property of '
from deepbach.
well I will just give up :( I will try to use Anaconda then
from deepbach.
The issue is caused by your Theano installation. I always used Tensorflow during my experiments so I can't really help you for this. If you use Anaconda, make sure you have the appropriate Keras version (there has been recent changes) so the code is no longer compatible with the newest versions.
For more instruments, it is in principle possible to generalize this model. Nonetheless, each part must be monophonic. There is a NUM_VOICES constant to set. Take a look at the is_playing metadata (in metadata.py) which you should include when creating your dataset (look how the --dataset parameter is used in deepbach.py).
I tested this on Monteverdi madrigals (5 voices) and it works quite well.
But if your dataset contains doubled parts, there might be some issues...
Good luck. I'm eager to see the results
from deepbach.
@Ghadjeres
hi, i used Theano and it quite works well on GPU.
as for more instruments, I meant polyphony style like Bach's cantatas.
from deepbach.
Related Issues (20)
- 352 MIDI chorales after discarding voice divisions HOT 2
- Datasets in dataset_cache HOT 3
- Training epochs HOT 2
- Fixing soprano part at generation time HOT 2
- ModuleNotFoundError: No module named 'torch' HOT 1
- File is not a valid MusicXML file - DeepBach using MuseScore HOT 1
- Help installing on Musescore2/win10
- Error when running server HOT 1
- TypeError: can only concatenate str (not "Specifier") to str
- The tailor generation is not working HOT 2
- Usage with NONOTO HOT 1
- Error on pieces with length > 32seconds HOT 2
- How to train or test the model with a new dataset HOT 1
- withdraw
- Code not implementing HOT 2
- Installation section deprecated HOT 1
- Issue running musescore_flask_server.py HOT 5
- Can't Install Using the Anaconda Instructions in the README
- Packages (using OSX) HOT 1
- Code executes but no partition output / or / File "/tmp/deepbach.xml" not found. HOT 1
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 deepbach.