-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Assertion Error cfg.mdl.mdl_name == "sf_base" when running main_dist.py #12
Comments
@yrf1 to run the gpt2 model you need the following command:
In general, you can find the command inside logs by Ctrl+F Let me know if you face any other issues. |
Thanks, I have some follow-up questions:
I used the slow_fast_nl_r50_8x8 mdl_ep_10.pth. I have trouble figuring the information out from looking through the log file corresponding to slow_fast_nl_r50_8x8 mdl_ep_10.pth because the "val" part in the log file shows an empty checkpoint path while the "train" part in the log file uses the caffe checkpoint which I think you guys already converted into pytorch before release. |
So the config inside configs/vsitu_mdl_cfgs/Kinetics_c2_SLOWFAST_8x8_R50.yaml is for pre-trained Slowfast model trained over Kinetics. But if you want to use some of our checkpoint, you should pass --train.resume='....' and --train.resume_path='/path/to/model' Does that answer your question? |
Hi @TheShadow29, thanks for the follow-up. So I'm still trying to apply pretrained VidSitu on my dataset. I tried running a command like Should this have happened? If so, how should the video features be computed for running VidSitu on external data? |
@yrf1 I see that I forgot to put up the feature extraction code. I will upload it within end of day. If you are in a hurry, it initializes SFBase model, and uses the |
@yrf1 The feature extraction code is up now vidsitu_code/feat_extractor.py Instructions are provided in DATA_PREP.md inside data/ Let me know if you face any issues. |
@TheShadow29 thank you! I'll try it out right now |
I ran
python main_dist.py "experiment_name"
without further specifying the --arg1 and --arg2 flags but gotSo we should be using sf_base instead of the GPT model in config?
Also, I think it'll be cool if there can be some instructions showing how VidSitu can be applied to external data (like the data preprocessing steps and change in commands for inference etc).
The text was updated successfully, but these errors were encountered: