How to design sampler of dataloader in pytorch if I want labels of every samples in one batch be the same?

前端 未结 0 1213
粉色の甜心
粉色の甜心 2021-02-08 21:50

My task can be simply regarded as a binary classification. My model demand the labels in one batch have to be the same. And labels between batches should be random chosen. How s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题