AAnoosheh / ComboGAN

BSD 2-Clause "Simplified" License
136 stars 26 forks source link

Test problem #14

Closed WeeshawChen closed 4 years ago

WeeshawChen commented 4 years ago

There is something wrong when I try to test my own dataset, I've already trained my models and now I want to generate a new dataset so I write this command in my terminal :python test.py --phase test --name dimmer --dataroot ./datasets/stanfordcars/test0_day --n_domains 2 --which_epoch 195 --serial_test

WeeshawChen commented 4 years ago

and it just shows Created 2 Encoder-Decoder pairs Number of parameters per Encoder: 5099143 Number of parameters per Decoder: 6565770 and nothing happened in my ./results/dimmer/test_195/images Can you please tell me how to address my problem?

AAnoosheh commented 4 years ago

Because the dataloader is the same structure during train and test, you have to give it a dataroot with at least two folders starting with the word "test". (And it will test all N of these folders)

So for you I'm guessing it's just: --dataroot ./datasets/stanfordcars/

Try that out and let me know.

WeeshawChen commented 4 years ago

emm, sadly it seems like nothing changed~ my dataset structure is like this:

AAnoosheh commented 4 years ago

May or may not be this, but ./datasets is misspelled in your command

WeeshawChen commented 4 years ago

oh my god.....it worked thanks to you. I am so sorry that I made a stupid typo problem, and I can't express how grateful I am! Thanks a lot! :)