|
set -ex |
|
|
|
RESULTS_DIR='./results/test/western2manga' |
|
|
|
|
|
CLASS='color2manga' |
|
MODEL='cycle_ganstft' |
|
DIRECTION='BtoA' |
|
PREPROCESS='none' |
|
LOAD_SIZE=512 |
|
CROP_SIZE=1024 |
|
INPUT_NC=1 |
|
OUTPUT_NC=3 |
|
NGF=48 |
|
NEF=48 |
|
NDF=32 |
|
NZ=64 |
|
|
|
|
|
GPU_ID=0 |
|
NUM_TEST=30 |
|
NUM_SAMPLES=1 |
|
NAME=${CLASS}_${MODEL} |
|
|
|
|
|
CUDA_VISIBLE_DEVICES=${GPU_ID} \ |
|
python3 ./test.py \ |
|
--dataroot ./datasets/${CLASS} \ |
|
--results_dir ${RESULTS_DIR} \ |
|
--checkpoints_dir ./checkpoints/${CLASS}/ \ |
|
--name ${NAME} \ |
|
--model ${MODEL} \ |
|
--direction ${DIRECTION} \ |
|
--preprocess ${PREPROCESS} \ |
|
--load_size ${LOAD_SIZE} \ |
|
--crop_size ${CROP_SIZE} \ |
|
--input_nc ${INPUT_NC} \ |
|
--output_nc ${OUTPUT_NC} \ |
|
--nz ${NZ} \ |
|
--netE conv_256 \ |
|
--num_test ${NUM_TEST} \ |
|
--n_samples ${NUM_SAMPLES} \ |
|
--upsample bilinear \ |
|
--ngf ${NGF} \ |
|
--nef ${NEF} \ |
|
--ndf ${NDF} \ |
|
--center_crop \ |
|
--color2screen \ |
|
--no_flip |
|
|