diff options
Diffstat (limited to 'run-gan.sh')
| -rwxr-xr-x | run-gan.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/run-gan.sh b/run-gan.sh new file mode 100755 index 0000000..310f7b5 --- /dev/null +++ b/run-gan.sh @@ -0,0 +1,37 @@ +dataset="woodscaled_unaligned" + +#/home/lens/Desktop/dataset-random.pl +# +#python datasets/combine_A_and_B.py \ +# --fold_A "/home/lens/Desktop/thumbs/$dataset/A" \ +# --fold_B "/home/lens/Desktop/thumbs/$dataset/B" \ +# --fold_AB "./datasets/$dataset/" + +python train.py \ + --dataroot "./datasets/$dataset" \ + --name "$dataset" \ + --model cycle_gan \ + --loadSize 256 \ + --fineSize 256 \ + --which_model_netG unet_256 \ + --which_direction AtoB \ + --lambda_B 100 \ + --dataset_mode aligned \ + --no_lsgan --norm batch --pool_size 0 \ + --continue_train + +python test.py \ + --dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \ + --name "$dataset" \ + --start_img "/home/lens/Desktop/thumbs/$dataset/A/train/frame_1008.png" \ + --how_many 1000 \ + --model test \ + --aspect_ratio 1.777777 \ + --which_model_netG unet_256 \ + --which_direction AtoB \ + --dataset_mode recursive \ + --loadSize 256 \ + --fineSize 256 \ + --norm batch + + |
