Colorizing-with-GANs icon indicating copy to clipboard operation
Colorizing-with-GANs copied to clipboard

Can't Reproduce CIFAR10 Test Image Results

Open bri-davis opened this issue 4 years ago • 4 comments

Testing Issue

I am unable to reproduce the cifar10 results seen in the paper while using the pre-trained weights. Any insight to what I might be doing wrong?

Setup

  1. I downloaded cifar10 data and placed it in ./dataset/cifar10
  2. I downloaded the pre-trained cifar10 weights and placed them in ./checkpoints/cifar10.
  3. I converted some cifar10 images to grayscale and put them in ./checkpoints/test
  4. I run the test script as follows: python test.py --dataset cifar10 --checkpoints-path ./checkpoints --test-input ./checkpoints/test --test-output ./checkpoints/output --gpu-ids 0

Results

The output is blotchy and not what I expected. Here are some example output images produced from the setup above: Screen Shot 2019-12-01 at 1 23 24 PM

bri-davis avatar Dec 02 '19 02:12 bri-davis

@bri-davis I have the same issue.

karoly-hars avatar Feb 15 '20 18:02 karoly-hars

@bri-davis I have the same issue.

me too!!

yunhao1996 avatar Apr 03 '20 05:04 yunhao1996

The same problem with Places365 model. Is there any special preprocessing? I tried grayscale images in ranges [0, 1] and [0, 255]. Both give nearly the same output. I'm guessing, there should be some preprocessing, but no information in the repo neither in the arcticle.

P.S. Test on an image not from the dataset:

tmp

VladVin avatar Apr 26 '20 13:04 VladVin

Same issue with the Places365 model

Chansi avatar Jun 15 '20 16:06 Chansi