Giter Site home page Giter Site logo

cpmpercussion / imps Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 3.0 17.75 MB

IMPSy - the Interactive Musical Prediction SYstem

License: MIT License

Shell 0.96% Python 95.60% Processing 3.44%
music prediction mdn rnn neural-network mixture-density-networks

imps's Issues

Error with TensorFlow Call

I've tried running the predictive_music_model.py recently and got the error below. It was working at the NIME workshop in June, but suddenly kicked this up. I cloned the latest version and reinstalled all the requirements in a virtual environment.

Edit: I'm on Windows 10

`C:...\imps-master>python predictive_music_model.py --dimension=3 --log

Importing Keras and MDRNN.
Using TensorFlow backend.
Traceback (most recent call last):
File "predictive_music_model.py", line 39, in
import empi_mdrnn
File "C:...\imps-master\empi_mdrnn_init_.py", line 16, in
tf.logging.set_verbosity(tf.logging.INFO) # set logging.
AttributeError: module 'tensorflow' has no attribute 'logging'`

Time predictions can be negative

The MDN model inside the IMPS system can potentially generate negative or zero time predictions (although these have probably been rare in my usage).

In particular the request_rnn_prediction function in predictive_music_model.py does nothing to prevent this.

def request_rnn_prediction(input_value):

The best thing to do here is probably to adjust request_rnn_prediction to have a minimum bound on time prediction (probably zero) similarly to the approach in proc_generated_touch in the model

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.