ReDet icon indicating copy to clipboard operation
ReDet copied to clipboard

训练的时候出现了错误

Open ghost opened this issue 2 years ago • 3 comments

当我使用这行代码训练的时候 ./tools/dist_train.sh /home/ReDet/configs/ReDet/ReDet_re50_refpn_1x_dota15.py 4 产生如下错误:RuntimeError: Expected object of scalar type Byte but got scalar type Bool for argument #2 'other' in call to _th_and 以及 subprocess.CalledProcessError: Command '['/home/anaconda3/envs/redet/bin/python', '-u', './tools/train.py', '--local_rank=3', '/home/ReDet/configs/ReDet/ReDet_re50_refpn_1x_dota15.py', '--launcher', 'pytorch']' returned non-zero exit status 1. 如果能得到耐心的解答,不胜感激

ghost avatar Jul 09 '21 05:07 ghost

https://github.com/csuhan/ReDet/issues/15

csuhan avatar Jul 09 '21 16:07 csuhan

第一个问题已经解决,但是第二个问题:subprocess.CalledProcessError: Command '['/home/anaconda3/envs/redet/bin/python', '-u', './tools/train.py', '--local_rank=3', '/home/ReDet/configs/ReDet/ReDet_re50_refpn_1x_dota15.py', '--launcher', 'pytorch']' returned non-zero exit status 1. 仍然存在

ghost avatar Jul 10 '21 00:07 ghost

我也遇到了和您一样的第二个问题,请问您解决了吗

SUNGHSUMMER avatar Oct 11 '21 13:10 SUNGHSUMMER