Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training from scratch #11

Closed
giovi1 opened this issue Jul 7, 2023 · 4 comments
Closed

Training from scratch #11

giovi1 opened this issue Jul 7, 2023 · 4 comments

Comments

@giovi1
Copy link

giovi1 commented Jul 7, 2023

Is it possible to train it from scratch? Eventually which is the dataset format I have to provide?

@kkahatapitiya
Copy link
Owner

Yes, Kinetics experiments are trained from scratch. Input clips are provided as RGB frames. You can refer to the dataset file here:

class Kinetics(data.Dataset):

@giovi1
Copy link
Author

giovi1 commented Jul 7, 2023

Is it possible to use my own dataset to train the network?
which dataset file I have to refer to?
Thank you

@kkahatapitiya
Copy link
Owner

Yes, as long as the the dataset is large-enough, you can train form scratch on your data. Otherwise, I would suggest to finetune the K400 pretrained model on your data. Unfortunately, for your own data, you will have to edit the above dataset file yourself. It's straightforward, you can follow how charades.py is adopted from kinetics.py.

@giovi1
Copy link
Author

giovi1 commented Aug 19, 2023

I would try to test the code as it is on the Kinetics dataset, essentially by running train_x3d_kinetics_multigrid.py. I have a maximum of 70 GB of storage at my disposal to save the data. Is this sufficient, or is there another way to test the code?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants