How to save and change custom data into a exist dataset? #19203
-
for example, I have a dataset with data and label(e.g.,imagenet-2012) how to make such change? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
What I would recommend in this case is to:
|
Beta Was this translation helpful? Give feedback.
-
as @zhreshold mentioned above
That is the solution with no modifying the mxnet API.
I'll try imagenet dataset after bought a rtx3090. |
Beta Was this translation helpful? Give feedback.
as @zhreshold mentioned above
That is the solution with no modifying the mxnet API.
Only 3 steps is needed:
CustomRandomSampler
using a global variableindex
, updateindex
and return after eachiter
.sampler=CustomRandomSampler
istead of the default setting.custom_weight
array, to save the right weights.I'll try imagenet dataset after bought a rtx3090.