Skip to content

Commit 714a932

Browse files
committed
update script
1 parent c5921c8 commit 714a932

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

scripts/check_all.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
set -ex
22
echo 'apply a pretrained cyclegan model'
3-
# bash pretrained_models/download_cyclegan_model.sh horse2zebra
4-
# bash ./datasets/download_cyclegan_dataset.sh horse2zebra
5-
# python test.py --dataroot datasets/horse2zebra/testA --checkpoints_dir ./checkpoints/ --name horse2zebra_pretrained --no_dropout --model test --dataset_mode single --loadSize 256
3+
bash pretrained_models/download_cyclegan_model.sh horse2zebra
4+
bash ./datasets/download_cyclegan_dataset.sh horse2zebra
5+
python test.py --dataroot datasets/horse2zebra/testA --checkpoints_dir ./checkpoints/ --name horse2zebra_pretrained --no_dropout --model test --dataset_mode single --loadSize 256
66

77
echo 'apply a pretrained pix2pix model'
8-
# bash pretrained_models/download_pix2pix_model.sh facades_label2photo
9-
# bash ./datasets/download_pix2pix_dataset.sh facades
10-
# python test.py --dataroot ./datasets/facades/ --which_direction BtoA --model pix2pix --name facades_label2photo_pretrained --dataset_mode aligned --which_model_netG unet_256 --norm batch
8+
bash pretrained_models/download_pix2pix_model.sh facades_label2photo
9+
bash ./datasets/download_pix2pix_dataset.sh facades
10+
python test.py --dataroot ./datasets/facades/ --which_direction BtoA --model pix2pix --name facades_label2photo_pretrained --dataset_mode aligned --which_model_netG unet_256 --norm batch
1111

1212

1313
echo 'cyclegan train (1 epoch) and test'
14-
# bash ./datasets/download_cyclegan_dataset.sh maps
15-
# python train.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan --no_dropout --niter 1 --niter_decay 0 --max_dataset_size 100 --save_latest_freq 100
16-
# python test.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan --phase test --no_dropout
14+
bash ./datasets/download_cyclegan_dataset.sh maps
15+
python train.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan --no_dropout --niter 1 --niter_decay 0 --max_dataset_size 100 --save_latest_freq 100
16+
python test.py --dataroot ./datasets/maps --name maps_cyclegan --model cycle_gan --phase test --no_dropout
1717

1818

1919
echo 'pix2pix train (1 epoch) and test'

0 commit comments

Comments
 (0)