Justin-Tan / generative-compression

TensorFlow Implementation of Generative Adversarial Networks for Extreme Learned Image Compression
MIT License
517 stars 105 forks source link

Compress single image failure #15

Closed zhiqiang-zhu closed 6 years ago

zhiqiang-zhu commented 6 years ago

the error as follows: Traceback (most recent call last): File "C:/Users/HP/Desktop/GAN_CC/generative-compression-master/compress.py", line 80, in main() File "C:/Users/HP/Desktop/GAN_CC/generative-compression-master/compress.py", line 77, in main single_compress(config_test, args) File "C:/Users/HP/Desktop/GAN_CC/generative-compression-master/compress.py", line 20, in single_compress assert (ckpt.model_checkpoint_path), 'Missing checkpoint file!' AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path'

Justin-Tan commented 6 years ago

Have you downloaded the pretrained model? If so, which one?

zhiqiang-zhu commented 6 years ago

I don't download the pretrained model, and which model I should download?

Justin-Tan commented 6 years ago

See the readme, I recommend using the one with noise sampling for now