Comments (11)
I also encountered this problem. A workaround:
In predict.py
starting at line 52:
- generate_response = basic_generator.generate(generate_request)
+ generate_response = basic_generator.generate(generate_request.input_sequence, generate_request.generator_options)
output = tempfile.NamedTemporaryFile()
midi_io.sequence_proto_to_midi_file(
- generate_response.generated_sequence, output.name)
+ generate_response, output.name)
This worked for me and now I'm trading fourths with a neural net. 👍
from aiexperiments-ai-duet.
LGTM; thanks @tambien ! And bigger thanks in general for the code!
from aiexperiments-ai-duet.
Hey very cool project thanks,
experiencing same issue when running.
Thanks
from aiexperiments-ai-duet.
Also experiencing this issue
from aiexperiments-ai-duet.
Same here
from aiexperiments-ai-duet.
+1
from aiexperiments-ai-duet.
As I began playing around further, I hit similar bugs.
I believe the problems stem from the commit: 22b52a3 to move the local magenta
module beneath third_party
. There is logic in predict.py
and the local magenta
that expects the to access those local files.
I was able to fix this issue and another issue I encountered by moving the magenta
directory to be level with server.py
.
from aiexperiments-ai-duet.
@almostimplemented Great Thanks the moving of magenta up a level got it working, 👍
from aiexperiments-ai-duet.
#1 resolves this for me!
from aiexperiments-ai-duet.
@almostimplemented thanks, this works.
from aiexperiments-ai-duet.
Sorry did catch that issue that i created by moving Magenta into the third_party folder. We were just trying to make sure that Magenta was properly credited as a third_party project and not part of this project, but it introduced that issue.
I appended the third_party folder to the system path which fixes the issue on my end. Please reopen if that doesn't solve it.
from aiexperiments-ai-duet.
Related Issues (20)
- Uncaught (in promise) 500 on live demo page HOT 3
- "GET /build/Main.js HTTP/1.1" 404 - HOT 9
- Change audio instruments HOT 2
- Training
- Is there a way I can use acoustic audio input? HOT 1
- Multiple notes playing HOT 2
- not running on 3 different pc HOT 3
- Getting Uncaught typerror HOT 1
- error when building docker HOT 1
- [bug] - tensorflow/magenta-demos - AI piano doesn't work OOB (tmm2018) HOT 7
- Is there any way to get the output of response note played by the algorithm?
- front end code
- Docker Installation-Routine fails - version issue Matplotlib HOT 2
- Fails on 18.04
- Python 2 isn't supported by TensorFlow HOT 1
- OSC Integration
- 鋼琴琴鍵感應
- Changes got overwritten after merge and therefore doesn't work again HOT 3
- Getting some help with setup HOT 9
- Syntax Error print time.time() - now 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 aiexperiments-ai-duet.