Bing-su / dddetailer

Detection Detailer hijack edition
131 stars 14 forks source link

No model A detections for output generation 0 with current settings #21

Open commella opened 1 year ago

commella commented 1 year ago

Hi, I am having problems using the script, showing the following message: No model A detections for output generation 0 with current settings.

I have debugged the code and I have detected that in line 1037 of the file dddetailer.py, the element "filter_inds" is empty and this seems to be because the variable "scores" should be a numpy array but it is only an integer.

The version of the libraries that I have installed are as follows:

torch 2.0.1+cu118 mmdet 3.0.0 mmcv 2.0.0 mmcv-full 1.7.1 mmengine 0.7.3

Greetings.

Bing-su commented 1 year ago

I'm sorry, but I was unable to reproduce this. Even if the scores is a python number, np.where returns a numpy array.