Closed sandy2008 closed 4 years ago
It seems that the code in utils.js should be:
layer_idx = w.name.split('/')[1].split('h')[1]
but there is another error:
Traceback (most recent call last):
File "main.py", line 100, in <module>
tf.app.run()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 93, in main
[dcgan.h4_w, dcgan.h4_b, None])
File "/Users/pineapple0106/Anime/utils.py", line 110, in to_json
gamma = bn.gamma.eval()
AttributeError: 'batch_norm' object has no attribute 'gamma'
hi i have the same problem, any solution please!
hi i have the same problem, any solution please!
You should use the exact module version the repo provided.
When I deleted the # mark of the to_json, the python code failed to proceed.
error:
IndexError: list index out of range