Open zhn6818 opened 1 year ago
运行指令是? 截图看看
CUDA_VISIBLE_DEVICES=4,5,6,7 python -m torch.distributed.launch --nproc_per_node=4 train.py
有截图吗 现有的看不出来,感觉可能是环境问题,0 0,你是什么环境
这个问题主要是版本的问题,然后如果想修改的话,需要将报错行 (估计在yolo training105行) 更改为:
temp_output = output.clone()
temp_output[..., :2] = (output[..., :2] + grid.type_as(output)) * stride
output = temp_output
return output, grid
为啥捏0 0有理由吗
RuntimeError: Output 0 of SliceBackward0 is a view and is being modified inplace.
6啊baby
我在想要不要改一下
给大佬鞠躬
我也给大佬磕一个
将distributed = True RuntimeError: Output 0 of SliceBackward0 is a view and is being modified inplace. This view is the output of a function that returns multiple views. Such functions do not allow the output views to be modified inplace. You should replace the inplace operation by an out-of-place one. 这个问题如何解决,望指教