cmhungsteve / TA3N

[ICCV 2019 (Oral)] Temporal Attentive Alignment for Large-Scale Video Domain Adaptation (PyTorch)
https://arxiv.org/abs/1907.12743
MIT License
259 stars 41 forks source link

argument_modality: invalid choice #29

Closed kerenartiaga closed 3 years ago

kerenartiaga commented 3 years ago

Hi, I used the pre-extracted features provided and manually edited the paths in the data list files. I am sure my paths are correct but I am getting the following error when running the script_train_val.sh:

main.py: error: argument modality: invalid choice: 'data/classInd_ucf_olympic.txt' (choose from 'RGB', 'Flow', 'RGBDiff', 'RGBDiff2', 'RGBDiffplus') .

Do you have any insight as to where I did it wrong? Thank you in advance.

cmhungsteve commented 3 years ago

I revise the script a little bit. please try again.

kerenartiaga commented 3 years ago

I tried the revised script. The new error says:

[WinError 206] The filename or extension is too long: 'action-experiments/Testexp-SGD-share_params_Y-lr_3e-2-bS_128_74/hmdb_ucf-5seg-disDA_none-alpha_0-advDA_RevGrad-beta_0.75_0.75_0.5-useBN_none-addlossDA_attentive_entropy-gamma_0.003-ensDA_none-mu_0-useAttn_TransAttn-n_attn_1

cmhungsteve commented 3 years ago

I guess it's related to Windows OS. Windows has some limitation about the file name

kerenartiaga commented 3 years ago

I enabled long filename support and it starts training now. Thanks a lot.