You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, we can use this repo to extract features easily and efficiently. Users may first extract features of the videos in the dataset and then use the features as input to train the model. But in the inference phase, it would be nice if we could import this repo as a submodule to extract feature(s) of an individual video and then perform inference.
For example, if I need visual feature and audio feature to perform bi-modal video captioning task, when doing inference, I need to execute the main.py in this repo and then execute the code of my task, which is complex.
What I want to achieve is something like your demo in Colab. The user may clone this repo as a submodule and do from video_features.models.r21d.extract_r21d import ExtractR21D to extract the feature. The major problem now is that the current implementation uses absolute import instead of relative import.
I think this improvement is very beneficial. Maybe it can be released in pypi sometime in the future.
The text was updated successfully, but these errors were encountered:
For now, we can use this repo to extract features easily and efficiently. Users may first extract features of the videos in the dataset and then use the features as input to train the model. But in the inference phase, it would be nice if we could import this repo as a submodule to extract feature(s) of an individual video and then perform inference.
For example, if I need visual feature and audio feature to perform bi-modal video captioning task, when doing inference, I need to execute the
main.py
in this repo and then execute the code of my task, which is complex.What I want to achieve is something like your demo in Colab. The user may clone this repo as a submodule and do
from video_features.models.r21d.extract_r21d import ExtractR21D
to extract the feature. The major problem now is that the current implementation uses absolute import instead of relative import.I think this improvement is very beneficial. Maybe it can be released in pypi sometime in the future.
The text was updated successfully, but these errors were encountered: