Question on video loading
Open
@szalpal is already working on this.
Since May 17, 2022.
help wanted
PyTorch Lightning
Video
- Dominant language
- C++
- Stars
- 5.8k
- Forks
- 678
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 27
Description
@JanuszL and team hope you're doing OK.
I have a pytorch video model that assumes each batch element is a five-frame video sequence around a frame at index ind, i.e., [ind-2, ind-1, ind, ind+1, ind+2]. Now, I need to pass a batch of such sequences to that model, ie.,
seqs = []
for ind in range(batch_size):
seq = # images [ind-2, ind-1, ind, ind+1, ind+2]
seqs.append(seq)
I have a vision of how to do this in pytorch after getting the sequence from DALI. is there a simpler way to do this in DALI?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.