This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Single Path One Shot #1849
Single Path One Shot #1849
Changes from 48 commits
0d1ca70
5363aa4
a4fc9cc
9bc24b0
7b6ff0d
a412ac9
c720373
2edf637
990932b
117399c
b4763d9
dfdb9fb
f16256d
3115531
971822c
5f51bb5
69261af
79ad154
e3dddf1
bc38366
a445e54
99b3b74
bdfc2e7
1a55007
c7a10d2
fc1eb99
34ffa31
ef387c9
082abcd
28c5b2d
ff2d2e7
c034b0a
8f77321
1f29960
e63c3f3
048d604
45d0d7a
d498a38
dbe8680
f4e893d
c24322a
138764e
7fb280a
001c581
5a00af5
4cef622
ca47a5b
5c2fbd2
e8d67ca
18bd184
38bc071
489c6de
752c7d3
a60e8e5
63271ab
9871fa6
86b34e6
7ba24b0
ba009a7
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why using this package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To accelerate the data loading by PyTorch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more detail? by accelerating what? what's the major difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ImageNet dataloading and augmentation is slow and inefficient. Running with PyTorch built-in dataloader induces bottleneck on CPU and memory. Using dali brings over 10x speedup on our workstation (4 GTX 1080 and a 12-core CPU).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main difference is to do data decoding and augmentation on GPU. This also brings some changes to the interface of dataloader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it and thx.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to mention this requirement in doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, should offer a requirement.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already mentioned in docs. DALI needs different installation command for cuda 9 and 10. Can't do them all in a
requirements.txt
: https://docs.nvidia.com/deeplearning/sdk/dali-developer-guide/docs/installation.htmlThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can it execute by a sh script?