Skip to content

Support xarray.DataArray and xarray.Dataset batches in PyTorch dataloader #84

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

Closed
maxrjones opened this issue Aug 19, 2022 · 2 comments · Fixed by #85
Closed

Support xarray.DataArray and xarray.Dataset batches in PyTorch dataloader #84

maxrjones opened this issue Aug 19, 2022 · 2 comments · Fixed by #85
Assignees

Comments

@maxrjones
Copy link
Member

As discussed in #71 (comment)_, the PyTorch DataLoader should be extended to support either dataarray or dataset batches after the batch generator output was generalized in #71.

@weiji14
Copy link
Member

weiji14 commented Aug 19, 2022

I can work on this, got some code already to improve the .torch accessor, can you assign me this issue?

@maxrjones
Copy link
Member Author

I can work on this, got some code already to improve the .torch accessor, can you assign me this issue?

Super, thanks! Assigned

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

Successfully merging a pull request may close this issue.

2 participants