That’s very kind.
What I am confused about is should we pass a numpy.array to the WeightRandomSampler, since in the snippet above it pass a sequence which wrap tensor to the sampler and it didn’t work.
Thanks in advance.