facebookarchive/eyescream

Bad results for train_cifar.lua

simopal6 opened this issue · 0 comments

Running scripts/train_cifar.lua with default parameters generates the attached images at different epochs (I changed the checkpoint-saving part to append the epoch number). What may be wrong?

Here is the code I used for generation:

l = torch.load("adversarial-" .. e .. ".net")
i = torch.CudaTensor(42, 100):uniform(-1,1)
l.G:cuda()
l.G:evaluate()
o = l.G:forward(i)
img = image.toDisplayTensor(o)
image.save("gen-" .. e .. ".png", img)

10
gen-10
20
gen-20
30
gen-30
40
gen-40
50
gen-50
60
gen-60
70
gen-70
80
gen-80
90
gen-90
100
gen-100
110
gen-110