thunil / TecoGAN

This repo contains source code and materials for the TEmporally COherent GAN SIGGRAPH project.
Apache License 2.0
5.95k stars 1.13k forks source link

Moving average already computed for: generator_loss/content_loss/Mean:0 with runGan.py 4 #94

Open alessiapacca opened 3 years ago

alessiapacca commented 3 years ago

If I try runGan.py 4 I get this error:

File "/.local/lib64/python3.6/site-packages/tensorflow/python/training/moving_averages.py", line 388, in apply
    raise ValueError("Moving average already computed for: %s" % var.name)
ValueError: Moving average already computed for: generator_loss/content_loss/Mean:0

I saw this issue #80 but I am not using the Docker so I don't know how to solve this. Anybody else that had this issue?

flutide commented 3 years ago

Try restarting the training with the following in runGan.py:

cmd1 += [ # based on a pre-trained FRVSR model. Here we want to train a new adversarial training "--pre_trained_model", "--checkpoint", old_model, ]

where old_model points to the last saved checkpoint.

yunxinjun commented 5 months ago

I'm having this problem too, have you solved it please?