googlecreativelab / aiexperiments-ai-duet

A piano that responds to you.
https://aiexperiments.withgoogle.com/ai-duet
1.63k stars 283 forks source link

Getting some help with setup #7

Closed skymasterson closed 7 years ago

skymasterson commented 7 years ago

After installing all the package, I'm getting the following error after starting the server with "python server.py"

Any tips on what I might have missed?

File "/Users/XXX/projects/aiexperiments-ai-duet/server/predict.py", line 19, in import third_party.magenta.models.basic_rnn.basic_rnn_generator as basic_rnn_generator File "/Users/XXX/projects/aiexperiments-ai-duet/server/third_party/magenta/models/basic_rnn/basic_rnn_generator.py", line 17, in import basic_rnn_encoder_decoder File "/Users/XXX/projects/aiexperiments-ai-duet/server/third_party/magenta/models/basic_rnn/basic_rnn_encoder_decoder.py", line 27, in class MelodyEncoderDecoder(melodies_lib.MelodyEncoderDecoder): AttributeError: 'module' object has no attribute 'MelodyEncoderDecoder'

VadimDez commented 7 years ago

Got same here (Python 2.7.12, Ubuntu 14.04 LTS (Trusty Tahr))

fabianhemmert commented 7 years ago

...same here! (Python 2.7.12, OSX)

Domojz commented 7 years ago

same for me. python 2.7.12, OSX 10.9.5

python273 commented 7 years ago

You can try to use my branch https://github.com/python273/aiexperiments-ai-duet/tree/add_dockerfile or just run it in Docker. Dockerfile is in my branch too.

nickplee commented 7 years ago

@python273 you da man.

ilukasschneider commented 7 years ago

@python273 after doing all your steps:

AttributeError: 'module' object has no attribute 'MelodyEncoderDecoder'

So what now?

python273 commented 7 years ago

@ilukasschneider have you run docker container? Or?

upd: I guess you need to check that you on the right branch "add_dockerfile"

ilukasschneider commented 7 years ago

@python273 yes i did this docker thingy you had on your branch..! (sry for my newbiness)

I am now deleting all the stuff and trying to do it again!

after: WORKED! thank you!

tambien commented 7 years ago

Merged Docker branch. Using Docker should simplify / normalize installation.

I will close this for now.