Replies: 3 comments
-
Hi, @etienne87, thanks for your interest here. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, here is the pipeline of data that i want to set in place:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
maybe the data shuffling in SmartCacheDataset is not necessary Line 1082 in 392c5c1 we can shuffle the list of replacing indices list(range(self._replace_num)) instead? cc @Nic-MaLine 1199 in 392c5c1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to combine a PersistentDataset and the SmartCacheDataset in order to take multiple crops from the same exam. It seems that when I feed SmartCacheDataset with a PersistentDataset (or any Dataset) it does not manage to shuffle it because this is not a sequence.
you are shuffling a 'PersistentDataset' object which is not a subclass of 'Sequence'; `shuffle` is not guaranteed to behave correctly. E.g., non-numpy array/tensor objects with view semantics may contain duplicates after shuffling. input data can't be shuffled in SmartCacheDataset with numpy.random.shuffle(): 'PersistentDataset' object does not support item assignment.
What is the right way to do this?
Beta Was this translation helpful? Give feedback.
All reactions