-
Notifications
You must be signed in to change notification settings - Fork 1.2k
enhance partition utilities #1191
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
Conversation
86688f0
to
e386bba
Compare
addressed some corner cases, not sure whether we should use |
Signed-off-by: Wenqi Li <[email protected]>
e386bba
to
998daf6
Compare
Hi @wyli , Current shuffle logic can work fine cross multiple processes, I am not sure whether np.random.RandomState also work well? Thanks. |
ok, I was not aware of that, but since each process has a different partition, I guess it's fine to share the randomstate instance? would be great to create a few test cases so that I can understand the context. anyway we shouldn't change the global seed here. |
Signed-off-by: Wenqi Li <[email protected]>
Hi @wyli , The multiple process usage is something like this: https://github.com/Project-MONAI/tutorials/blob/master/acceleration/distributed_training/unet_training_smartcache.py#L176 Thanks. |
i don’t see any issue |
enhances the partition utilities, part of #816
Status
Ready
Types of changes
./runtests.sh --quick
.make html
command in thedocs/
folder.