YOLOX icon indicating copy to clipboard operation
YOLOX copied to clipboard

exp文件中将self.mosaic_prob置为0.5时报错 'int' object has no attribute 'numel'

Open 1VeniVediVeci1 opened this issue 4 years ago • 6 comments
trafficstars

训练nano网络的时候,exps/default/nano.py里有一句self.mosaic_prob = 0.5,加上后训练时就会报如下图所示错误 image

1VeniVediVeci1 avatar Oct 06 '21 11:10 1VeniVediVeci1

Same problem.

jhl13 avatar Oct 20 '21 09:10 jhl13

#658 solve the problem.

jhl13 avatar Oct 21 '21 01:10 jhl13

我也遇到了这个问题,最新代码里已经修改了此处,但还是会报错

txx-899 avatar Apr 13 '22 13:04 txx-899

Same problem

Single430 avatar Jun 17 '22 09:06 Single430

Same problem

solve the problem

Single430 avatar Jun 17 '22 09:06 Single430

同样的问题,batch=1时不会报错,猜测是batch 拼接的时候出的问题?

sean-wade avatar Jun 18 '22 10:06 sean-wade

同样的问题,有人解决了吗?

rimq14 avatar Apr 19 '23 03:04 rimq14