Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train.py: error: argument --dataset: expected one argument #16

Open
bhattacharyyadeep opened this issue Sep 28, 2024 · 0 comments
Open

Comments

@bhattacharyyadeep
Copy link

dataset= 'busi'
input_size=256
!python train.py --arch UKAN --dataset ${dataset} --input_w ${input_size} --input_h ${input_size} --name ${dataset}_UKAN --data_dir [/content/drive/MyDrive/Seg_UKAN/inputs]

Error coming :
usage: train.py [-h] [--name NAME] [--epochs N] [-b N] [--dataseed DATASEED] [--arch ARCH]
[--deep_supervision DEEP_SUPERVISION] [--input_channels INPUT_CHANNELS]
[--num_classes NUM_CLASSES] [--input_w INPUT_W] [--input_h INPUT_H]
[--input_list INPUT_LIST] [--loss {BCEDiceLoss,LovaszHingeLoss,BCEWithLogitsLoss}]
[--dataset DATASET] [--data_dir DATA_DIR] [--output_dir OUTPUT_DIR]
[--optimizer {Adam,SGD}] [--lr LR] [--momentum MOMENTUM]
[--weight_decay WEIGHT_DECAY] [--nesterov NESTEROV] [--kan_lr LR]
[--kan_weight_decay KAN_WEIGHT_DECAY]
[--scheduler {CosineAnnealingLR,ReduceLROnPlateau,MultiStepLR,ConstantLR}]
[--min_lr MIN_LR] [--factor FACTOR] [--patience PATIENCE]
[--milestones MILESTONES] [--gamma GAMMA] [--early_stopping N] [--cfg FILE]
[--num_workers NUM_WORKERS] [--no_kan]
train.py: error: argument --dataset: expected one argument

I have written as per your explannation but always getting the error also for my directory have it as !ls /content/drive/MyDrive/Seg_UKAN/inputs/
under which busi is there

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

No branches or pull requests

1 participant