pytorch / examples

A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
https://pytorch.org/examples
BSD 3-Clause "New" or "Revised" License
22.21k stars 9.51k forks source link

No saved *.png in checkpoint in dcgan.cpp #742

Open hect1995 opened 4 years ago

hect1995 commented 4 years ago

In the README file of "DCGAN Example with the PyTorch C++ Frontend" it says that:

_The training script periodically generates image samples. Use the displaysamples.py script situated in this folder to generate a plot image. For example:

But the dcgan.cpp file just saves the model in *.pt format, doesnt save any picture. Then, the command stated in the README:

$ python display_samples.py -i dcgan-sample-10.png
Saved out.png

Gives an error as dcgan-sample-10.png doesnt exist

christianjcc commented 4 years ago

Hi hect1995, did this ever get fix? Or found a fix else where? Ran into the same issue.

liubamboo commented 3 years ago

@hect1995 Have you fix this bug? I have the same question.

aronasefaw commented 1 year ago

check #855