ChenHsing / SVFormer

Other
84 stars 2 forks source link

KeyError: 'Non-existent config key: TIMESFORMER.PRETRAIN_PATH' #3

Open t-rizvi opened 1 year ago

t-rizvi commented 1 year ago

First, I encountered following error: ModuleNotFoundError: No module named 'timesformer.models.swin'

That i resolved by commenting following 2 lines in "SVFormer-main/timesformer/models/init.py" file:

from .swin import Swin_tiny, Swin_slowfast

from .r3d import ResNet3d

######################################################################################### Second error I encountered is

KeyError: 'Non-existent config key: TRAIN.GAMMA'

I added "_C.TRAIN.GAMMA = 0.3" in "SVFormer-main/timesformer/config/defaults.py"

#########################################################################################

After this i stucked on following path: KeyError: 'Non-existent config key: TIMESFORMER.PRETRAIN_PATH'

I do not have .pth and .pyth checkpoints to train the model.

Can someone guide me in this regard and can verify solution of first two errors.