SilvioGiancola / SoccerNetv2-DevKit

Development Kit for the SoccerNet Challenge
MIT License
169 stars 39 forks source link

Starting from scratch #37

Closed Tortoise17 closed 2 years ago

Tortoise17 commented 2 years ago

I would like to know that using this kit, from where to start? Can I use the already trained model for the fine tuning? or I have to train from scratch using your features?

cioppaanthony commented 2 years ago

Hi @Tortoise17,

Note that this repository will soon be deprecated and replaced by these one: https://github.com/SoccerNet/sn-spotting and https://github.com/SoccerNet/sn-grounding.

For starters, I would suggest you check out the Action Spotting Task and the CALF or NetVLAD methods that are in the related folder.

For CALF, you can use the pre-trained model for fine-tuning, you should be able to do so by simply adding the --load_weight models/CALF_benchmark/model.pth.tar argument to the command lines. This will start the training from the pre-trained model.

I hope this helps.

Tortoise17 commented 2 years ago

Thank you so much. The pre-trained model is open-source free to be used ? or under some specific license?

cioppaanthony commented 2 years ago

Yes, it is shared under an Apache v2 License (https://github.com/SilvioGiancola/SoccerNetv2-DevKit/blob/main/Task1-ActionSpotting/CALF/LICENSE), which is quite permissive.

If you could just cite our paper or repository when you use it that would be great, thanks.

Tortoise17 commented 2 years ago

Of course, I would definitely acknowledge specially thank in special part of paper and citing is for sure must.

cioppaanthony commented 2 years ago

That's great, thanks! Good luck on your future work.

skfaysal commented 2 years ago

Hi @cioppaanthony How can i fine tune the "model.pth.tar" model for a dataset that has different output class? lets say the pretrained model("model.pth.tar") has 17 output class but i want to fine-tune it for a dataset which has 4 class.