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

ClassyRandomClipSampler and ClassyUniformClipSampler #218

Conversation

stephenyan1231
Copy link
Contributor

Summary:
num_samples argument is useful to limit the number of training samples we use from the dataset. But it is not effective for current video datasets such as UCF101Dataset.

We extend TorchVision RandomClipSampler and UniformClipSampler to support num_samples argument.

Differential Revision: D18523531

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Nov 15, 2019
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

Summary:
Pull Request resolved: facebookresearch/ClassyVision#218

`num_samples` argument is useful to limit the number of training samples we use from the dataset. But it is not effective for current video datasets such as `UCF101Dataset`.

We extend TorchVision `RandomClipSampler` and `UniformClipSampler` to support `num_samples` argument.

Differential Revision: D18523531

fbshipit-source-id: 86302abb53eb2b79dc382d80f6e5888843734d8e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D18523531

facebook-github-bot pushed a commit that referenced this pull request Nov 18, 2019
Summary:
Pull Request resolved: #218

`num_samples` argument is useful to limit the number of training samples we use from the dataset. But it is not effective for current video datasets such as `UCF101Dataset`.

We extend TorchVision `RandomClipSampler` and `UniformClipSampler` to support `num_samples` argument.

Reviewed By: aadcock

Differential Revision: D18523531

fbshipit-source-id: 39bd64762c6029ad84569d0b77d89460eb064837
facebook-github-bot pushed a commit that referenced this pull request Nov 18, 2019
Summary:
Pull Request resolved: #218

`num_samples` argument is useful to limit the number of training samples we use from the dataset. But it is not effective for current video datasets such as `UCF101Dataset`.

We extend TorchVision `RandomClipSampler` and `UniformClipSampler` to support `num_samples` argument.

Reviewed By: aadcock

Differential Revision: D18523531

fbshipit-source-id: 12c8c4bb71094a69ebbd8351d286d958840509c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants