This is breaking my IterableDataset use case: is it a bug or intended?
See original GitHub issueLooking at the following line of code:
https://github.com/pytorch/ignite/blob/523798c13a9465f4c95565cb54ae3c5aa0786ac6/ignite/engine/engine.py#L742
It breaks out of the loop without resetting the dataloader (means without calling self.set_data(self.state.dataloader)
), it’s breaking all my use cases where my own implementation of dataloader only raises StopIteration
once. Is this a bug or intended?
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
torch.utils.data.dataloader — mmcv 1.7.0 documentation
Used as sampler for :class:`~torch.utils.data.IterableDataset`. Args: data_source (Dataset): dataset to sample from """ def __init__(self): ...
Read more >Example for torch.utils.data.IterableDataset - PyTorch Forums
Hi I have an iterable dataset, then I want to write a dataloader for ... want? please provide a bit of information concerning...
Read more >PyTorch 1.6.0 Now Available | Exxact Blog
This is BC-breaking for the following two use cases: If any weights are shared among threads, gradient accumulation that was previously ...
Read more >CHANGELOG - AllenNLP v2.10.1
Fixed a bug in ConditionalRandomField : transitions and tag_sequence tensors were not initialized on the desired device causing high CPU usage (see ...
Read more >Commits · 开源镜像 / pytorch · GitLab
and can be used in `IterableDataset.__iter__` and `worker_init_fn` to do per-worker configuration. 5. Add `ChainDataset`, which is the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would like to but there are some proprietary code I cannot share. I’ll look into it at my end. Also, let me know if you find something! Thanks a lot for helping.
@vfdev-5 I haven’t had time to work on this. Feel free to close the issue for now.