Well, I tried using the dataloader given with pytorch and am not sure of the weights the sampler assigns to the classes or maybe, the inner workings of the dataloader sampler aren’t clear to me
sequence: tensor([ 8956, 22184, 16504,   148,   727, 14016, 12722,    43, 12532])
targets: tensor([4, 7, 5, 7, 7, 7, 5, 7, 7])
Can you help?
Regards