ImagingLab / Colorizing-with-GANs

Grayscale Image Colorization with Generative Adversarial Networks. https://arxiv.org/abs/1803.05400
Apache License 2.0
262 stars 92 forks source link

Pre-trained model does not work #26

Open Chansi opened 4 years ago

Chansi commented 4 years ago

I have downloaded the Places365 model, but the output is shown below. 0fAtAB

HyuPete commented 4 years ago

You may take a look at this issue #19 Hope it can help you.

luke-777 commented 3 years ago

Does someone has a solution for that problem? I've got the same results

// I solved the problem: it didn't recognized the dataset, you have to download the folders "places365" and "cifar10" from Google Drive and copy it into checkpoints, not the zip with "places" and "cifar10".

hamzahanif5595 commented 3 years ago

Does someone has a solution for that problem? I've got the same results

// I solved the problem: it didn't recognized the dataset, you have to download the folders "places365" and "cifar10" from Google Drive and copy it into checkpoints, not the zip with "places" and "cifar10".

@luke-777 Thank you for this solution. Worked like a charm!

For the other people reading this, after you have replaced the folders downloaded from the Google Drive, the following commands is the way to go.

python3 test.py --checkpoints-path ./checkpoints/places365/ --test-input ./checkpoints/places365/test/01.png --test-output ./checkpoints/places365/output/