zhangming8 / yolox-pytorch

a Pytorch easy re-implement of "YOLOX: Exceeding YOLO Series in 2021"
97 stars 35 forks source link

for batch_i, batch in enumerate(train_loader): inps, targets, img_info, ind = batch #13

Open 939889912 opened 3 years ago

939889912 commented 3 years ago

想问一下大佬们为什么我在运行dataset.py时会报错 for batch_i, batch in enumerate(train_loader): inps, targets, img_info, ind = batch 。 运行train.py时for iter_id, (inps, targets, img_info, ind) in enumerate(data_loader):这里会报错

。 是因为我有什么前置需要处理的信息没有处理吗?

zhangming8 commented 3 years ago

我试了一下,没问题,你用的最新的代码吗