I have trained a cycleGan model using !python train.py --dataroot /content/drive/MyDrive/project/dataset --name F2F --model cycle_gan --display_id -1
To infer set of images from a folder i used
The above snippet worked as expected and generated good results.
I would like to infer a single image without going through the loader.
I tried to imitate the transforms inside the create_dataset(opt) function using this ...
I have trained a cycleGan model using
!python train.py --dataroot /content/drive/MyDrive/project/dataset --name F2F --model cycle_gan --display_id -1
To infer set of images from a folder i usedThe above snippet worked as expected and generated good results.
I would like to infer a single image without going through the loader. I tried to imitate the transforms inside the
create_dataset(opt)
function using this ...But the results are very blurry. Any help of how can achieve this would be much appreciated !