question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This is breaking my IterableDataset use case: is it a bug or intended?

See original GitHub issue

Looking 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:closed
  • Created 3 years ago
  • Comments:15

github_iconTop GitHub Comments

2reactions
snie2012commented, Jun 4, 2020

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.

1reaction
snie2012commented, Jun 18, 2020

@vfdev-5 I haven’t had time to work on this. Feel free to close the issue for now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found