pytorch报错

RuntimeError: reduce failed to synchronize: cudaErrorAssert: device-side assert triggered

原因是bceloss的输入必须在[0.0,1.0]之间