albanie / collaborative-experts

Video embeddings for retrieval with natural language queries
https://www.robots.ox.ac.uk/~vgg/research/collaborative-experts/
Apache License 2.0
336 stars 55 forks source link

Experts formatting #30

Closed Tortoise17 closed 3 years ago

Tortoise17 commented 3 years ago

@ioanacroi I have gone through the experts downloaded from server for activity-net and msrvtt

while running the code for training and testing, the files are working perfect. Code is also working and reproducing.

Now I am trying to figure out the files how they are in order to recreate for customized data. I cannot import i3d, Resnet 101, and SeNet154based pickle files.

with open('/home/user/collaborative_experts/data/activity-net/structured-symlinks/aggregated_i3d_25fps_256px_stride25_offset0_inner_stride1/i3d-avg.pickle', 'rb') as f:
    datai3d = pickle.load(f)
Traceback (most recent call last):

  File "/tmp/ipykernel_183044/356969372.py", line 2, in <module>
    datai3d = pickle.load(f)

ModuleNotFoundError: No module named 'datastructures'

Can you guide me how I can see those files so that I can also generate files according to those.