Closed jadonalam closed 3 years ago
Hi guys. I fixed the problem. It was a formatting issue. I deleted some spaces and now it works:
python style.py --style /Users/owner/Documents/2_fast-style-transfer-master/purple_paris.jpg --checkpoint-dir /Users/owner/Documents/2_fast-style-transfer-master --test /Users/owner/Documents/2_fast-style-transfer-master/nyc.jpg --test-dir /Users/owner/Documents/2_fast-style-transfer-master --content-weight 7.5e0 --checkpoint-iterations 6000 --epochs 3 --batch-size 1 --train-path /Users/owner/Documents/2_fast-style-transfer-master/train2014 --vgg-path /Users/owner/Documents/2_fast-style-transfer-master/imagenet-vgg-verydeep-19.mat
Hi. When I run :
python style.py --style /Users/owner/Documents/2_fast-style-transfer-master/great_waves.jpg \ --checkpoint-dir /Users/owner/Documents/2_fast-style-transfer-master \ --test Users/owner/Documents/2_fast-style-transfer-master/UCLA.jpg \ --test-dir Users/owner/Documents/2_fast-style-transfer-master \ --content-weight 7.5e0 \ --checkpoint-iterations 6000 \ --epochs 3 \ --batch-size 1
I get this error:
usage: style.py [-h] --checkpoint-dir CHECKPOINT_DIR --style STYLE [--train-path TRAIN_PATH] [--test TEST] [--test-dir TEST_DIR] [--slow] [--epochs EPOCHS] [--batch-size BATCH_SIZE] [--checkpoint-iterations CHECKPOINT_ITERATIONS] [--vgg-path VGG_PATH] [--content-weight CONTENT_WEIGHT] [--style-weight STYLE_WEIGHT] [--tv-weight TV_WEIGHT] [--learning-rate LEARNING_RATE] style.py: error: unrecognized arguments:
zsh: command not found: --test zsh: command not found: --test-dir zsh: command not found: --content-weight
Can someone help me with this issue? I've been working on this problem for the past couple days without any success. Thanks