happyharrycn / actionformer_release

Code release for ActionFormer (ECCV 2022)
MIT License
419 stars 77 forks source link

Assertion error #86

Closed Subhraneil closed 1 year ago

Subhraneil commented 1 year ago

On trying to execute python ./train.py ./configs/ego4d_omnivore_egovlp.yaml --output reproduce

the output terminates with an assertion error, which is evidently related to path issues. However I do not understand why the problem persists as my folder structure is the same as instructed in the readme file, i.e.

This folder │ README.md │ ...
│ └───data/ │ └───ego4d/ │ │ └───annotations │ │ └───slowfast_features │ │ └───omnivore_features │ │ └───egovlp_features
│ └───... | └───libs │ │ ...

Error prompt: Traceback (most recent call last): File "/home/s2733277/actionformer_release/./train.py", line 178, in main(args) File "/home/s2733277/actionformer_release/./train.py", line 61, in main train_dataset = make_dataset( File "/home/s2733277/actionformer_release/libs/datasets/datasets.py", line 16, in make_dataset dataset = datasets[name](is_training, split, **kwargs) File "/home/s2733277/actionformer_release/libs/datasets/ego4d.py", line 36, in init assert all([os.path.exists(folder) for folder in feat_folder]) AssertionError