From 3ec7af8d74608a44240bac690a0300cd19c92298 Mon Sep 17 00:00:00 2001 From: "jules@lens" Date: Tue, 8 May 2018 23:53:07 +0200 Subject: runner scripts --- run-gan.sh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 run-gan.sh (limited to 'run-gan.sh') 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 + + -- cgit v1.2.3-70-g09d2