I put a image in ./input/content and another in ./input/style, using "vgg_normalized.pth"
CMD:python train.py --content_dir input/content --style_dir input/style --batch_size 4 --max_iter 160
Though I got a xx.pth.tar in ./experiments, I use it "test.py", getting a gray image result.
I guess max_iter is too small. Please try the default parameters, or keep an eye on the convergence of loss curves to make sure you train the model enough.
Hi. I wonder how to train a new style.
I put a image in ./input/content and another in ./input/style, using "vgg_normalized.pth" CMD:
python train.py --content_dir input/content --style_dir input/style --batch_size 4 --max_iter 160
Though I got a xx.pth.tar in ./experiments, I use it "test.py", getting a gray image result.source src
result src