Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 723 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 723 Bytes

AdaIN: Arbitrary Style Transfer in Real-time with Adaptive Instance Normalization

paper

Train script

You don't need much more parameters to do the training. You can check them out in the script itself.

If you want, the training script also supports mixed precision, just add the --mixed_precision flag.

python train.py --experiment name

Test inference script

The following script creates a transfer-style matrix between different content and style images.

python test.py --weights_path WEIGHTS_PATH \
	--image_content_path IMAGE_CONTENT_PATH \
	--image_style_path IMAGE_STYLE_PATH \
	--alpha 0.75 \
	--device 0