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

Improve video train.py #1339

Merged
merged 2 commits into from
Jun 10, 2020
Merged

Improve video train.py #1339

merged 2 commits into from
Jun 10, 2020

Conversation

bryanyzhu
Copy link
Collaborator

This PR adds two things for video action recognition training,

  1. Add num_thread=1 to Decord video reading, this can speed up training by 5%. This requires the most recent version of Decord.

  2. Add train_only option, only save the last trained model to save some time on evaluating every epoch.

@bryanyzhu bryanyzhu merged commit ac54c57 into dmlc:master Jun 10, 2020
@bryanyzhu bryanyzhu deleted the dist branch November 20, 2020 18:30
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

Successfully merging this pull request may close these issues.

None yet

1 participant