1

我使用谷歌的 tensorflow 和 magenta

当我从sketch_rnn_train运行代码进行训练时,出现错误

Traceback (most recent call last):
  File "sketch_rnn.py", line 135, in <module>
    [train_set, valid_set, test_set, hps_model, eval_hps_model, sample_hps_model] = load_env(data_dir, model_dir)
  File "/root/miniconda2/envs/magenta/lib/python2.7/site-packages/magenta/models/sketch_rnn/sketch_rnn_train.py", line 76, in load_env
    model_params.update(model_config)
AttributeError: 'HParams' object has no attribute 'update'

有没有人有任何解决方案?

4

1 回答 1

0

我有同样的问题。我通过回滚到洋红色 0.1.13 解决了它

于 2017-06-16T04:14:28.320 回答