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

How can I choose the method when I run the script ? #14

Closed
Shuai-Lv opened this issue Mar 15, 2022 · 2 comments
Closed

How can I choose the method when I run the script ? #14

Shuai-Lv opened this issue Mar 15, 2022 · 2 comments

Comments

@Shuai-Lv
Copy link

CUDA_VISIBLE_DEVICES=0 PYTHONPATH=pwd python VisualBERT/run.py --method=<method_name> --is-text-pert=<true/false> --is-positive-pert=<true/false> --num-samples=10000 config=projects/visual_bert/configs/vqa2/defaults.yaml model=visual_bert dataset=vqa2 run_type=val checkpoint.resume_zoo=visual_bert.finetuned.vqa2.from_coco_train env.data_dir=/path/to/data_dir training.num_workers=0 training.batch_size=1 training.trainer=mmf_pert training.seed=1234

@hila-chefer
Copy link
Owner

hila-chefer commented Apr 1, 2022

Hi @Shuai-Lv, thanks for your interest!

Not sure I follow your question, you can simply exchange <method_name> with the name of the method you wish to use.
I hope this helps.

@Shuai-Lv
Copy link
Author

Shuai-Lv commented Apr 2, 2022

Thanks for you guidance, I am new to this, so the question is a little silly...

@Shuai-Lv Shuai-Lv closed this as completed Apr 2, 2022
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

2 participants