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.

Hi, any plan to integrate DALI (https://docs.nvidia.com/deeplearning/sdk/dali-developer-guide/docs/index.html) to torchvision for faster preprocessing? I found chainer tries to integrate it (https://github.com/chainer/chainer/pull/5067).

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
pmeiercommented, Apr 27, 2022

@msaroufim

to clarify by backend I mean one of these https://github.com/pytorch/vision#image-backend - i.e: pillow, accimage, pillow simd etc…

The new datasets will return a features.EncodedImage, which is a 1D uint8 tensor just storing the raw bytes. You can decode it however you want. Right now, transforms.DecodeImage() uses PIL as backend

https://github.com/pytorch/vision/blob/a8f563dbf8520020054aa01f5ae169999775fd19/torchvision/prototype/transforms/_type_conversion.py#L11-L17

https://github.com/pytorch/vision/blob/a8f563dbf8520020054aa01f5ae169999775fd19/torchvision/prototype/transforms/functional/_type_conversion.py#L13-L17

but you can use arbitrary backends there.

1reaction
abhi-glitchhgcommented, Sep 6, 2022

Similar issue on torchdata repo - https://github.com/pytorch/data/issues/761 Might be good to keep eye on this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contact DALI | Product, Warranty & Support
If you have questions about your warranty, servicing & repair or you need help using your product, find out how to get the...
Read more >
Contact The Dalí - Salvador Dali Museum
One Dali Blvd. St. Petersburg, FL. 33701 727.823.3767 info@thedali.org. The Dalí Museum is unable to take phone inquiries ...
Read more >
NVIDIA DALI 1.20.0 documentation
Portable across popular deep learning frameworks: TensorFlow, PyTorch, MXNet, PaddlePaddle. Supports CPU and GPU execution. Scalable across multiple GPUs.
Read more >
It's Really Surreal How Salvador Dalí Was a Fascist Who Hit ...
In his lifelong quest for fame and fortune, the surrealist painter beloved by 19-year-olds "trampled" female admirers and supported the ...
Read more >
Salvador Dalí's surreal dalliance with Nazism - The Guardian
Quite a garment – but the late 30s was also when Dalí painted The Enigma of Hitler, and confessed to dreaming about 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