Skip to content

main.py: error: unrecognized arguments #26

@JRitmeester

Description

@JRitmeester

Hi again, I finally have al the dependencies down, but the demo doesn't seem to work for me.

~/Desktop/AUNets-master$ ./main.sh -AU 12 -gpu 0 -fold 0 -OF None -DEMO Demo
./main.py -- --AU=12 --fold=0 --GPU=0 --OF None --DEMO Demo --batch_size=117 --finetuning=emotionnet --mode_data=normal
usage: main.py [-h] [--image_size IMAGE_SIZE] [--lr LR]
               [--batch_size BATCH_SIZE] [--dataset {BP4D}]
               [--num_epochs NUM_EPOCHS] [--num_epochs_decay NUM_EPOCHS_DECAY]
               [--stop_training STOP_TRAINING] [--beta1 BETA1] [--beta2 BETA2]
               [--num_workers NUM_WORKERS] [--HYDRA] [--DELETE] [--TEST_TXT]
               [--TEST_PTH]
               [--OF {None,Alone,Horizontal,Vertical,Channels,Conv,FC6,FC7}]
               [--test_model TEST_MODEL] [--mode {train,val,test,sample}]
               [--use_tensorboard] [--SHOW_MODEL] [--GPU GPU]
               [--metadata_path METADATA_PATH] [--log_path LOG_PATH]
               [--model_save_path MODEL_SAVE_PATH]
               [--results_path RESULTS_PATH] [--fold FOLD]
               [--mode_data {normal,aligned}] [--AU AU]
               [--finetuning {emotionnet,imagenet,random}]
               [--pretrained_model PRETRAINED_MODEL] [--DEMO DEMO]
               [--log_step LOG_STEP]
main.py: error: unrecognized arguments: -- --AU=12 --fold=0 --GPU=0 --OF None --DEMO Demo --batch_size=117 --finetuning=emotionnet --mode_data=normal

Simply copied your command into the terminal but with no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions