yanx27 / EverybodyDanceNow_reproduce_pytorch

Everybody dance now reproduced in pytorch
MIT License
608 stars 172 forks source link

module 'tensorflow' has no attribute 'Summary' #79

Closed YifanXu74 closed 4 years ago

YifanXu74 commented 4 years ago

I'm running pose_to_vid.py and it raises: File "../EverybodyDanceNow_reproduce_pytorch/src/pix2pixHD/util/visualizer.py", line 102, in plot_current_errors summary = self.tf.Summary(value=[self.tf.Summary.Value(tag=tag, simple_value=value)]) AttributeError: module 'tensorflow' has no attribute 'Summary'

My tensorflow version is 2.0. I would like to know which version is proper and is there any solutions to this problem?

YifanXu74 commented 4 years ago

The problem is solved. This code uses an older version of Tensorflow. It works with the following configuration: Python: 3.6.10 Tensorflow: 1.14 Pytorch: 1.4 Use conda to install.