Open ghost opened 3 years ago
What version of tensorflow are you using? You can find this by printing the __version__
attribute
print(tensorflow.__version__)
for example.
If you are using GoogleColab, try:
import tensorflow.compat.v1 as tf
tf.disable_v2_behavior()
%tensorflow_version 1.x
before running !python train_pose2vid.py
The IndexError message is related to:
errors = {k: v.data[0] if not isinstance(v, int) else v for k, v in loss_dict.items()}
See #100 : replace v.data[0]
with v.data.item()
I'm getting this error when running
!python train_pose2vid.py
on colab:When I changed the line 26 in visualizer.py (as said in this issue: https://github.com/yanx27/EverybodyDanceNow_reproduce_pytorch/issues/99), I'm getting this error instead:
P.S. I changed it to
tf.summary.create_file_writer
, as said in the error message, and for now I'm not getting this error (it's currently executing this sell)Getting this error instead now (issue https://github.com/yanx27/EverybodyDanceNow_reproduce_pytorch/issues/48):