Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: dictionary changed size during iteration? #45

Open
animitta opened this issue Jan 29, 2024 · 0 comments
Open

RuntimeError: dictionary changed size during iteration? #45

animitta opened this issue Jan 29, 2024 · 0 comments

Comments

@animitta
Copy link

animitta commented Jan 29, 2024

pytorch ddp mode, dataloader wrapper batch data by EasyDict.
line 120, in init for k in self.class.dict.keys():

        # Class attributes
        for k in self.__class__.__dict__.keys():
            if not (k.startswith('__') and k.endswith('__')) and not k in ('update', 'pop'):
                setattr(self, k, getattr(self, k))
```python
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

No branches or pull requests

1 participant