j-min / DSG

Davidsonian Scene Graph (DSG) for Text-to-Image Evaluation (ICLR 2024)
https://google.github.io/dsg
74 stars 5 forks source link

Indentation level of some codes #1

Closed Qinyu-Allen-Zhao closed 10 months ago

Qinyu-Allen-Zhao commented 10 months ago

https://github.com/j-min/DSG/blob/3f844c1dadd141e5c7b3e9d68f3889208c9b6248/query_utils.py#L350-L389

Hello,

Thank you for sharing your great work!

Upon attempting to generate a DSG, I've noticed that the indentation of certain lines may be incorrect. It appears they should be indented one level less, as the current formatting causes an exception to be thrown. Once I adjusted the indentation level, the generation process proceeded without any issues.

Qinyu

j-min commented 10 months ago

You're right, thanks for the catch! I just fixed the indentation the repo.