YujieLu10 / LLMScore

LLMScore: Unveiling the Power of Large Language Models in Text-to-Image Synthesis Evaluation
121 stars 8 forks source link

ModuleNotFoundError: No module named 'grit.data' No module named 'centernet.data'` #1

Closed so-as closed 1 year ago

so-as commented 1 year ago

Hi,thanks for your excellent work! When I ran the demo python llm_score.py, I encountered some problems, such as ModuleNotFoundError: No module named 'grit.data' ModuleNotFoundError: No module named 'centernet.data'。 In submodule/CenterNet2/centernet directory,there is no data dir,same as submodule/grit dir. Did you miss submitting some code files? how to fix this problem, Looking forward to your reply.

@YujieLu10

YujieLu10 commented 1 year ago

Thank you for your interest in our work! I directly add the full directory of submodule/CenterNet2/centernet/data and submodule/girt/data. The detectron2 will remain as a submodule. Besides, I update the requirements.txt to support BLIP2 using huggingface. You may find it easier to re-install the environment following the new INSTALL.md