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-flow.sh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 run-flow.sh (limited to 'run-flow.sh') diff --git a/run-flow.sh b/run-flow.sh new file mode 100755 index 0000000..7b7ac4f --- /dev/null +++ b/run-flow.sh @@ -0,0 +1,37 @@ +dataset="woodflow" + +#/home/lens/Desktop/dataset-random.pl + +#python datasets/combine_A_and_B.py \ +# --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 276 \ + --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 \ +# --which_epoch latest \ + +#python canny-cv.py \ +# --dataroot /home/ubuntu/Desktop/thumbs/wood/B/train/ \ +# --name woodcanny \ +# --start_img /home/ubuntu/Desktop/thumbs/wood/B/train/frame_00100.png \ +# --loadSize 256 \ +# --fineSize 256 \ +# --how_many 200 \ +# --model test \ +# --which_model_netG unet_256 \ +# --which_direction AtoB \ +# --dataset_mode recursive \ +# --norm batch + -- cgit v1.2.3-70-g09d2 From 70cbf455566a2302353ce1951154f97c8007c345 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 1 May 2018 22:49:30 +0200 Subject: woodflowfixed --- run-flow.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run-flow.sh') diff --git a/run-flow.sh b/run-flow.sh index 7b7ac4f..858be31 100755 --- a/run-flow.sh +++ b/run-flow.sh @@ -1,4 +1,4 @@ -dataset="woodflow" +dataset="woodflowfixed" #/home/lens/Desktop/dataset-random.pl @@ -6,7 +6,7 @@ dataset="woodflow" # --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" \ -- cgit v1.2.3-70-g09d2 From 06e7bea3951a223fff7d0432e5489e4b672d6428 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 9 May 2018 21:23:10 +0200 Subject: run flow dataset --- .gitignore | 2 ++ run-flow.sh | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'run-flow.sh') diff --git a/.gitignore b/.gitignore index 7290625..ef552b4 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ test/data/legacy_serialized.pt *~ .idea recursive/ +*.swp + diff --git a/run-flow.sh b/run-flow.sh index 858be31..3f650dc 100755 --- a/run-flow.sh +++ b/run-flow.sh @@ -6,7 +6,7 @@ dataset="woodflowfixed" # --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" \ @@ -17,11 +17,10 @@ python train.py \ --which_direction AtoB \ --lambda_B 100 \ --dataset_mode aligned \ + --continue_train \ + --which_epoch latest \ --no_lsgan --norm batch --pool_size 0 -# --continue_train \ -# --which_epoch latest \ - #python canny-cv.py \ # --dataroot /home/ubuntu/Desktop/thumbs/wood/B/train/ \ # --name woodcanny \ -- cgit v1.2.3-70-g09d2