Skip to content

Conversation

@haideraltahan
Copy link

@haideraltahan haideraltahan commented Jan 12, 2020

Similar to RandomCrop in torchvision. This implementation is for audio given a tensor.
I would've used RandomCrop in torchvision, however, it only takes PIL Image instead of a Tensor.
More on it in #416

@haideraltahan haideraltahan requested review from jamarshon and removed request for vincentqb January 16, 2020 20:16
@mthrok
Copy link
Contributor

mthrok commented Aug 3, 2021

Closing the PR as

  1. torchvision's RandomCrop now accepts torch.Tensor
  2. This needs formal specification, as many audio training has corresponding metadata, which also needs to be cropped in the same time steps.

@mthrok mthrok closed this Aug 3, 2021
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.

2 participants