TensorFlow python 'HParams' 对象没有属性 'update'
TensorFlow python 'HParams' object has no attribute 'update'
我使用来自 Google
的 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'
有人有解决办法吗?
我遇到了同样的问题。我通过回滚到洋红色 0.1.13
解决了这个问题
我使用来自 Google
的 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'
有人有解决办法吗?
我遇到了同样的问题。我通过回滚到洋红色 0.1.13
解决了这个问题