WZMIAOMIAO / deep-learning-for-image-processing

deep learning for image processing including classification and object-detection etc.
GNU General Public License v3.0
23.25k stars 8.01k forks source link

IndexError: index 5 is out of bounds for axis 2 with size 5 #829

Open Cuiguangyan opened 4 months ago

Cuiguangyan commented 4 months ago
        if isinstance(catId, int):
            s = s[:, :, catId, aind, mind]
        else:
            s = s[:, :, :, aind, mind]

在用 Faster R-CNN 代码中的validation.py文件时报错,之前用的时候没问题,不清楚为什么会出现这个问题