datamllab / autovideo

AutoVideo: An Automated Video Action Recognition System
https://autoedge.ai/
MIT License
318 stars 36 forks source link

Running Predictions with pertained weights #5

Closed nmochar2 closed 2 years ago

nmochar2 commented 2 years ago

Hi,

I'm trying to benchmark the hmdb51 and ucf101 datasets with the pertained weights available on Google Drive. I'm unfamiliar with axolotl library and am a little confused on how to populate fitted_pipeline['runtime'] if I don't try fitting using example/fit.py. Do you have any suggestions on how to accomplish this?

Thank you, Rohita

daochenzha commented 2 years ago

@nmochar2 Thanks for the feedback. We do not support this for now. I think the simplest solution is to just comment out this line https://github.com/datamllab/autovideo/blob/main/autovideo/base/supervised_base.py#L56 and run the fit with a pre-trained model. This will disable the training and directly save the model.

nmochar2 commented 2 years ago

Thank you! I want to make sure I understand how the benchmark results were achieved https://github.com/datamllab/autovideo/blob/main/docs/benchmark.md . Were the pretrained weightsloaded and metrics were produced against the dataset or were the pretrained weights loaded and the network was finetuned with the dataset (e.i., ufc101 and hmdb51) and hyperparameters specified in the table?