From 20662ee305cd21838078eab97568bbbbb9acffd0 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 1 May 2018 20:20:27 +0200 Subject: new scripts using canny --- run.sh | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 43d14e2..c02972d 100755 --- a/run.sh +++ b/run.sh @@ -1,24 +1,25 @@ -dataset="randomcrops5k" +dataset="woodcanny" #/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_A "$HOME/Desktop/thumbs/$dataset/A" \ +# --fold_B "$HOME/Desktop/thumbs/$dataset/B" \ # --fold_AB "./datasets/$dataset/" -# python train.py \ -# --dataroot "./datasets/$dataset" \ -# --name "$dataset" \ -# --model pix2pix \ -# --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 train.py \ + --dataroot "./datasets/$dataset" \ + --name "$dataset" \ + --model pix2pix \ + --loadSize 276 \ + --fineSize 256 \ + --which_model_netG unet_256 \ + --which_direction AtoB \ + --lambda_B 100 \ + --dataset_mode aligned \ + --which_epoch latest \ + --continue_train \ + --no_lsgan --norm batch --pool_size 0 python test.py \ --dataroot "/home/lens/Desktop/thumbs/$dataset/A/train/" \ -- cgit v1.2.3-70-g09d2