From 0efda3bdd13cedf26e0e7a57443f781cd49f7ff8 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Mon, 20 Nov 2023 03:19:20 +0000 Subject: [PATCH 1/2] add ConSinGAN model --- CONSINGAN/start_export.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CONSINGAN/start_export.sh diff --git a/CONSINGAN/start_export.sh b/CONSINGAN/start_export.sh new file mode 100644 index 0000000..8546275 --- /dev/null +++ b/CONSINGAN/start_export.sh @@ -0,0 +1,17 @@ +ROOT=`pwd` + +pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 +pip install scipy scikit-image matplotlib + + +git clone https://github.com/PaddleJitLab/ConSinGAN +cd ConSinGAN +git checkout master +python export.py --train_mode generation --input_name Images/Generation/angkorwat.jpg + + +cd $ROOT +git clone https://github.com/PaddleJitLab/ConSinGAN.paddle +cd ConSinGAN.paddle +git checkout main +python export.py --train_mode generation --input_name Images/Generation/angkorwat.jpg From ce79404652521040e053a442f1ff3d712d0216e1 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Thu, 23 Nov 2023 12:44:45 +0800 Subject: [PATCH 2/2] add dependency --- CONSINGAN/start_export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONSINGAN/start_export.sh b/CONSINGAN/start_export.sh index 8546275..8dcf2d0 100644 --- a/CONSINGAN/start_export.sh +++ b/CONSINGAN/start_export.sh @@ -1,7 +1,7 @@ ROOT=`pwd` pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 -pip install scipy scikit-image matplotlib +pip install scipy scikit-image matplotlib albumentations git clone https://github.com/PaddleJitLab/ConSinGAN