Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

train.py: error: argument --fineSize: invalid int value: 'CROP_SIZE' #66

Open
liulfu opened this issue Apr 23, 2020 · 1 comment
Open

Comments

@liulfu
Copy link

liulfu commented Apr 23, 2020

When i do this: python test.py --dataroot /.path_to_your_data --model test --dataset_mode single --learn_residual, it indecates ''train.py: error: argument --fineSize: invalid int value: 'CROP_SIZE'', what should I do ? thanks all!

@liulfu
Copy link
Author

liulfu commented Apr 23, 2020

usage: train.py [-h] [--dataroot DATAROOT] [--batchSize BATCHSIZE]
[--loadSizeX LOADSIZEX] [--loadSizeY LOADSIZEY]
[--fineSize FINESIZE] [--input_nc INPUT_NC]
[--output_nc OUTPUT_NC] [--ngf NGF] [--ndf NDF]
[--which_model_netD WHICH_MODEL_NETD]
[--which_model_netG WHICH_MODEL_NETG] [--learn_residual]
[--gan_type GAN_TYPE] [--n_layers_D N_LAYERS_D]
[--gpu_ids GPU_IDS] [--name NAME]
[--dataset_mode DATASET_MODE] [--model MODEL]
[--which_direction WHICH_DIRECTION] [--nThreads NTHREADS]
[--checkpoints_dir CHECKPOINTS_DIR] [--norm NORM]
[--serial_batches] [--display_winsize DISPLAY_WINSIZE]
[--display_id DISPLAY_ID] [--display_port DISPLAY_PORT]
[--display_single_pane_ncols DISPLAY_SINGLE_PANE_NCOLS]
[--no_dropout] [--max_dataset_size MAX_DATASET_SIZE]
[--resize_or_crop RESIZE_OR_CROP] [--no_flip]
[--display_freq DISPLAY_FREQ] [--print_freq PRINT_FREQ]
[--save_latest_freq SAVE_LATEST_FREQ]
[--save_epoch_freq SAVE_EPOCH_FREQ] [--continue_train]
[--epoch_count EPOCH_COUNT] [--phase PHASE]
[--which_epoch WHICH_EPOCH] [--niter NITER]
[--niter_decay NITER_DECAY] [--beta1 BETA1] [--lr LR]
[--lambda_A LAMBDA_A] [--lambda_B LAMBDA_B]
[--identity IDENTITY] [--pool_size POOL_SIZE] [--no_html]
train.py: error: argument --fineSize: invalid int value: 'CROP_SIZE'

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant