Open GitGhidorah opened 5 years ago
Exactly saying, 'No such option'
if values.test_type == 'test_model':
test_model(values.input_hig_res, model, values.number_of_images, values.output_dir)
elif values.test_type == 'test_lr_images':
test_model_for_lr_images(values.input_low_res, model, values.number_of_images, values.output_dir)
else:
print("No such option")
That's weird, --test_type='test_lr_images' is the string that it is checking for. have you edited something?
Hi, it should be: test_type=test_lr_images, you have to remove the parentheses. By the way after this I got another error:
Traceback (most recent call last):
File "test.py", line 68, in
does #12 solve that problem? - i had a problem with the LR test images trying to be downscaled.
Hi. No it does not :(
2019-09-11 15:06 GMT+01:00, mrciolino notifications@github.com:
does #12 solve that problem? - i had a problem with the LR test images trying to be downscaled.
-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/deepak112/Keras-SRGAN/issues/20#issuecomment-530396432
Could you give some more info on the resolution of images you are working with? For example, I trained a few GANs on 320x320 with 4x downsampling to 80x80.
I've found it easier and better to learn by using your own images. Image Magick was a strong command-line tool I used to resize, crop, or tile images. https://imagemagick.org/script/command-line-processing.php
python test.py --input_low_res='./data_lr/' --output_dir='./output/' --number_of_images=1 --test_type='test_lr_images'
Then,i got message 'no such options'
Sorry,Idont know why.