usail-hkust / LLMTSCS

Official code for article "LLMLight: Large Language Models as Traffic Signal Control Agents".
157 stars 18 forks source link

How to deal with this error? #7

Closed NearCai closed 6 months ago

NearCai commented 6 months ago

LLMTSCS-main/utils/generator.py", line 1, in from .config import DIC_AGENTS ImportError: attempted relative import with no known parent package

Gungnir2099 commented 6 months ago

Could you please post your code for running the experiment?

Gungnir2099 commented 6 months ago

This error may occur if you are in the wrong directory. You must run the experiment under the root directory of our project.

NearCai commented 6 months ago

Thank you very much for your reply. I have resolved the issue using the command line

Gungnir2099 commented 6 months ago

Can you click a star on our project? This will help a lot. Thanks!!!