LanglandsLin / ActCLR

MIT License
24 stars 1 forks source link

i am sorry to bother you about pretrain #14

Open wushuang180 opened 4 months ago

wushuang180 commented 4 months ago

when i input “CUDA_VISIBLE_DEVICES=0 python -m torch.distributed.run --nproc_per_node=1 ActCLR-main/main.py pretrain_actclr -c ActCLR-main/config/ntu60/pretext/pretext_actclr_xview_joint.yaml” it outputs:Traceback (most recent call last): File "ActCLR-main/main.py", line 55, in p = Processor(sys_argv) NameError: name 'sys_argv' is not defined could you help me to solve this problem,please? by the way,the main.py is same as you.

LanglandsLin commented 4 months ago

You need to use --config instead of -c

wushuang180 commented 4 months ago

You need to use --config instead of -c

thank you very much,it can run successfully!