AIRLab-POLIMI / BTGenBot

BTGenBot: a system to generate behavior trees for robots using lightweight (~7 billion parameters) large language models (LLMs)
MIT License
52 stars 6 forks source link

python3 btgenbot.py_Error #3

Closed sea-hot closed 5 months ago

sea-hot commented 6 months ago

Thanks to your help last time, I was able to successfully complete the demo. I really appreciate it. The demo results showed that the fine-tuned version and the base model produced identical outputs. I am running btgenbot.py because I want to understand the difference between the two.

I am experiencing the following error.

(btgenbotv1) kime@DESKTOP-NFV50BR:~/BTGenBot-2/bt_generator$ python3 btgenbot.py Traceback (most recent call last): File "/home/kime/BTGenBot-2/bt_generator/btgenbot.py", line 84, in submit self.generate(example_task, example_output, task) File "/home/kime/BTGenBot-2/bt_generator/btgenbot.py", line 92, in generate with open(config_file_path, 'r') as file: FileNotFoundError: [Errno 2] No such file or directory: 'bt_generator/config/params.yaml' Aborted

I am attaching the settings of the para.yaml file. I am uncertain if I have entered the correct address for the settings. Do you think there is something wrong with the local or remote address? 20240401_154823 20240401_155412

Thank you once again.

RiccardoIzzo commented 6 months ago

Path issue fixed in the last commit, a path in btgenbot.py occasionally failed in certain environments. The parameters in params.yaml are confirmed to be correct: however double-check your specified directories.

RiccardoIzzo commented 5 months ago

Regarding the output issue, the fine-tuned version and the base model produced identical outputs due to an error in the inference notebook. Now it has been fixed.