Skip to content

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

@t-rizvi

Description

@t-rizvi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions