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

[deepcam][data loading] Use of NVIDIA DALI with Deepcam #24

Closed
BTMichalowicz opened this issue Nov 30, 2021 · 2 comments
Closed

[deepcam][data loading] Use of NVIDIA DALI with Deepcam #24

BTMichalowicz opened this issue Nov 30, 2021 · 2 comments

Comments

@BTMichalowicz
Copy link

Hi! I'm currently fiddling around with the deepcam benchmark and plan on using NVIDIA DALI on the deepcam dataset. Right now, I'm using this script to convert the .h5 files to .npy, as DALI does not currently support HDF5 (see NVIDIA/DALI#1252).

Are there any better/more efficient ways to deal with this? Thank you in advance.

@BTMichalowicz BTMichalowicz changed the title [deepcam][data loading] Use of NVIDIA DALI with [deepcam][data loading] Use of NVIDIA DALI with Deepcam Nov 30, 2021
@azrael417
Copy link
Contributor

Hello,

A conversion script is here

https://github.com/mlcommons/hpc_results_v1.0/blob/master/NVIDIA/benchmarks/deepcam/implementations/pytorch/src/utils/convert_hdf52npy.py

And the corresponding Dali pipeline (along with an overall optimized benchmark) is here:

https://github.com/mlcommons/hpc_results_v1.0/tree/master/NVIDIA/benchmarks/deepcam/implementations/pytorch/src/deepCam/data

There are a few variants for numpy datasets, with and without manual caching. Just pick whatever works best for you.

Best
Thorsten

@BTMichalowicz
Copy link
Author

Awesome. Thank you so much!

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

2 participants