From 064cb62ea8374c0b404553a27567d5e83f0239fc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 19 Apr 2018 02:45:33 +0200 Subject: new build script --- run.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 run.sh (limited to 'run.sh') diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..a381e50 --- /dev/null +++ b/run.sh @@ -0,0 +1,30 @@ +dataset="randomcrops_30000_4" + +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 pix2pix \ + --which_model_netG unet_256 \ + --which_direction AtoB \ + --lambda_B 100 \ + --dataset_mode aligned \ + --no_lsgan --norm batch --pool_size 0 + +python test.py \ + --dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \ + --name "$dataset" \ + --start_img "/home/lens/Desktop/thumbs/$dataset/A/train/frame_0000.png" \ + --how_many 2000 \ + --model test \ + --aspect_ratio 1.777777 \ + --which_model_netG unet_256 \ + --which_direction AtoB \ + --dataset_mode recursive \ + --norm batch + + -- cgit v1.2.3-70-g09d2