Grab one sample from pipeline for shaping and reset pipeline
Open
@JanuszL is already working on this.
Since Jan 15, 2024.
question
- Dominant language
- C++
- Stars
- 5.8k
- Forks
- 678
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 27
Description
Describe the question.
Is it possible to grab a single sample of (imgs, labels) from the pipeline and reset it? This is mainly for shape checking.
I see in the docs that:
pipe.reset()is only usable at the end of iteration?- If I iterate the pipeline for one step the pipeline is missing 1 minibatch for training.
Why?
- Want to grab shaping / labels for model creation, etc.
Check for duplicates
- I have searched the open bugs/issues and have found no duplicates for this bug report
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.