> Traceback (most recent call last):



 "<string>", line 1, in <module>



 "/opt/miniconda3/envs/dev_pytorch_lightning36/lib/python3.6/multiprocessing/spawn.py", line 105, in spawn_main 

exitcode = _main(fd)



 "/opt/miniconda3/envs/dev_pytorch_lightning36/lib/python3.6/multiprocessing/spawn.py", line 115, in _main


self = reduction.pickle.load(from_parent)

AttributeError: Can't get attribute 'CoolModel' on <module '__main__' (built-in)>


`Traceback (most recent call last):


 "/Users/soma/miniconda2/envs/magenta/bin/melody_rnn_generate", line 7, in <module>

from magenta.models.melody_rnn.melody_rnn_generate import console_entry_point


 "/Users/soma/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/melody_rnn/__init__.py", line 17, in <module>

from melody_rnn_model import MelodyRnnModel


 "/Users/soma/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/melody_rnn/melody_rnn_model.py", line 143, in <module>

tf.contrib.training.HParams(
AttributeError: 'module' object has no attribute 'HParams'
