weixi-feng / LayoutGPT

Official repo for LayoutGPT
MIT License
300 stars 20 forks source link

Cannot reproduce the result (low accuracy for counting evaluation) #17

Closed YuhaoChrisJ closed 8 months ago

YuhaoChrisJ commented 11 months ago

Hi, thanks for the great work. However, I have problems when reproducing the counting accuracy result.

Any hint for what might have caused the problem is helpful!

weixi-feng commented 10 months ago

Hi,

Sorry for the late response. I found that there were some bugs in the code of computing accuracy for object counting. I have updated the script eval_models/GLIP/eval_counting.py and you can also get my GLIP eval results here. Unzip the file into eval_models/GLIP/ and run the script to get the accuracy immediately.

I didn't check all the outputs by GLIP but I do notice many cases where the grounding results are far from satisfying. I think that's an open problem with detection/grounding models on generated images.

Let me know if it helps and if there are any remaining issues.