cpmpercussion / imps Goto Github PK
View Code? Open in Web Editor NEWIMPSy - the Interactive Musical Prediction SYstem
License: MIT License
IMPSy - the Interactive Musical Prediction SYstem
License: MIT License
CLI args don't seem to always work
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'`
switch to poetry style packaging for consistency and testing.
should just install poetry packages and run a basic CLI command to check all versions are working.
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.
imps/predictive_music_model.py
Line 136 in 5707ca0
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
need requirements and implementation ideas for a GUI update
this could be a useful default behaviour or a switch in the training command
there should be one basic command imps
with options to choose the sub command (run, convert, train)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.