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

How to implement dataloader with new version of pytorch (> pytorch v1.10.0)? #10

Open
lyclyc171 opened this issue Nov 13, 2023 · 0 comments

Comments

@lyclyc171
Copy link

lyclyc171 commented Nov 13, 2023

I see there are several method called MSDataLoader and _MSDataLoaderIter you defined in "dataloader.py", which _MSDataLoaderIter is inherited from _DataLoaderIter in pytorch v1.1.0. However, as we know there is no "_DataLoaderIter " after pytorch v1.2.0, I tried to change it to derived from "_MultiProcessingDataLoaderIter" but failed.

I tried to install pytorch 1.1.0 but it's too old to be installed and not compatible with other libs.

Could you give me a clue how to change the code to adapt newer version of pytorch? Thanks

@lyclyc171 lyclyc171 changed the title How to implement dataloader with latest version of pytorch (> pytorch v1.10.0)? How to implement dataloader with new version of pytorch (> pytorch v1.10.0)? Nov 13, 2023
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