Giter VIP home page Giter VIP logo

Comments (11)

almostimplemented avatar almostimplemented commented on July 22, 2024 1

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.

almostimplemented avatar almostimplemented commented on July 22, 2024 1

LGTM; thanks @tambien ! And bigger thanks in general for the code!

from aiexperiments-ai-duet.

davkap92 avatar davkap92 commented on July 22, 2024

Hey very cool project thanks,
experiencing same issue when running.
Thanks

from aiexperiments-ai-duet.

orangesandcream avatar orangesandcream commented on July 22, 2024

Also experiencing this issue

from aiexperiments-ai-duet.

ItsThisGuyAgain avatar ItsThisGuyAgain commented on July 22, 2024

Same here

from aiexperiments-ai-duet.

hyperobject avatar hyperobject commented on July 22, 2024

+1

from aiexperiments-ai-duet.

almostimplemented avatar almostimplemented commented on July 22, 2024

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.

davkap92 avatar davkap92 commented on July 22, 2024

@almostimplemented Great Thanks the moving of magenta up a level got it working, 👍

from aiexperiments-ai-duet.

gnestor avatar gnestor commented on July 22, 2024

#1 resolves this for me!

from aiexperiments-ai-duet.

Hdooster avatar Hdooster commented on July 22, 2024

@almostimplemented thanks, this works.

from aiexperiments-ai-duet.

tambien avatar tambien commented on July 22, 2024

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)

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.