小编M.N*_*iaz的帖子

RuntimeError:reduce 同步失败:触发设备端断言

File "/home/username/anaconda3/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 433, in forward     reduce=self.reduce)   
File "/home/username/anaconda3/lib/python3.6/site-packages/torch/nn/functional.py", line 1483, in binary_cross_entropy     
return torch._C._nn.binary_cross_entropy(input, target, weight, size_average, reduce)

RuntimeError: reduce failed to synchronize: device-side assert triggered 
Run Code Online (Sandbox Code Playgroud)

python-3.x pytorch

2
推荐指数
1
解决办法
4625
查看次数

标签 统计

python-3.x ×1

pytorch ×1