Giter Site home page Giter Site logo

Comments (4)

DefinitlyEvil avatar DefinitlyEvil commented on August 29, 2024

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.

DefinitlyEvil avatar DefinitlyEvil commented on August 29, 2024

well I will just give up :( I will try to use Anaconda then

from deepbach.

Ghadjeres avatar Ghadjeres commented on August 29, 2024

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.

DefinitlyEvil avatar DefinitlyEvil commented on August 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.