thunil / TecoGAN

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

RachelCmy issue #17 #86

Closed alessiapacca closed 4 years ago

alessiapacca commented 4 years ago

@RachelCmy I tried to use your code from issue #17, unfortunately I got this error:

Sequenced batches: 1279, sequence length: 10
Traceback (most recent call last):
  File "main.py", line 286, in <module>
    print('tData count = %d, steps per epoch %d' % (rdata.image_count, rdata.steps_per_epoch))
TypeError: %d format: a number is required, not Tensor

line 285 and 286 in main.py are

rdata = frvsr_data_loader(FLAGS, useValidat)
print('tData count = %d, steps per epoch %d' % (rdata.image_count, rdata.steps_per_epoch))

could you please help me?