Open liguet opened 2 months ago
I use python 3.10.14 in conda and use pip to run "pip install llm-astar" here are my pip list: Package Version
aiohappyeyeballs 2.4.2 aiohttp 3.10.8 aiosignal 1.3.1 ansicon 1.89.0 async-timeout 4.0.3 attrs 24.2.0 blessed 1.20.0 certifi 2024.8.30 charset-normalizer 3.3.2 colorama 0.4.6 contourpy 1.3.0 cycler 0.12.1 editor 1.6.6 filelock 3.16.1 fonttools 4.54.1 frozenlist 1.4.1 fsspec 2024.9.0 huggingface-hub 0.25.1 idna 3.10 inquirer 3.2.5 Jinja2 3.1.4 jinxed 1.3.0 kiwisolver 1.4.7 llm-astar 0.1.4 MarkupSafe 2.1.5 matplotlib 3.9.2 mpmath 1.3.0 multidict 6.1.0 networkx 3.3 numpy 2.1.1 openai 0.27.2 packaging 24.1 pillow 10.4.0 pip 24.2 pyparsing 3.1.4 python-dateutil 2.9.0.post0 PyYAML 6.0.2 readchar 4.2.0 regex 2024.9.11 requests 2.32.3 runs 1.2.2 safetensors 0.4.5 setuptools 68.2.2 shapely 2.0.6 six 1.16.0 sympy 1.13.3 tokenizers 0.20.0 torch 2.4.1 tqdm 4.66.5 transformers 4.45.1 typing_extensions 4.12.2 urllib3 2.2.3 wcwidth 0.2.13 wheel 0.44.0 xmod 1.8.1 yarl 1.13.1
The output seems good, but it cannot generate the corresponding image,llm.png and astar.png are white image output is here: {'start': [5, 5], 'goal': [45, 25], 'size': [51, 31], 'horizontal_barriers': [[10, 0, 25], [15, 30, 50]], 'vertical_barriers': [[25, 10, 22]], 'range_x': [0, 51], 'range_y': [0, 31]} {'operation': 462, 'storage': 470, 'length': 49.4558441227157} {'start': [5, 5], 'goal': [45, 25], 'size': [51, 31], 'horizontal_barriers': [[10, 0, 25], [15, 30, 50]], 'vertical_barriers': [[25, 10, 22]], 'range_x': [0, 50], 'range_y': [0, 30]} [(5, 5), (26, 9), (25, 23), (45, 25)] (5, 5) (26, 9) (26, 9) (25, 23) (25, 23) (45, 25) {'operation': 103, 'storage': 232, 'length': 49.45584412271569, 'llm_output': [(5, 5), (26, 9), (25, 23), (45, 25)]}
it may be s stupid question with my poor python coding ability,if make you feel bad i sorry
Software execution information
I use python 3.10.14 in conda and use pip to run "pip install llm-astar" here are my pip list: Package Version
aiohappyeyeballs 2.4.2 aiohttp 3.10.8 aiosignal 1.3.1 ansicon 1.89.0 async-timeout 4.0.3 attrs 24.2.0 blessed 1.20.0 certifi 2024.8.30 charset-normalizer 3.3.2 colorama 0.4.6 contourpy 1.3.0 cycler 0.12.1 editor 1.6.6 filelock 3.16.1 fonttools 4.54.1 frozenlist 1.4.1 fsspec 2024.9.0 huggingface-hub 0.25.1 idna 3.10 inquirer 3.2.5 Jinja2 3.1.4 jinxed 1.3.0 kiwisolver 1.4.7 llm-astar 0.1.4 MarkupSafe 2.1.5 matplotlib 3.9.2 mpmath 1.3.0 multidict 6.1.0 networkx 3.3 numpy 2.1.1 openai 0.27.2 packaging 24.1 pillow 10.4.0 pip 24.2 pyparsing 3.1.4 python-dateutil 2.9.0.post0 PyYAML 6.0.2 readchar 4.2.0 regex 2024.9.11 requests 2.32.3 runs 1.2.2 safetensors 0.4.5 setuptools 68.2.2 shapely 2.0.6 six 1.16.0 sympy 1.13.3 tokenizers 0.20.0 torch 2.4.1 tqdm 4.66.5 transformers 4.45.1 typing_extensions 4.12.2 urllib3 2.2.3 wcwidth 0.2.13 wheel 0.44.0 xmod 1.8.1 yarl 1.13.1
Problem description
The output seems good, but it cannot generate the corresponding image,llm.png and astar.png are white image output is here: {'start': [5, 5], 'goal': [45, 25], 'size': [51, 31], 'horizontal_barriers': [[10, 0, 25], [15, 30, 50]], 'vertical_barriers': [[25, 10, 22]], 'range_x': [0, 51], 'range_y': [0, 31]} {'operation': 462, 'storage': 470, 'length': 49.4558441227157} {'start': [5, 5], 'goal': [45, 25], 'size': [51, 31], 'horizontal_barriers': [[10, 0, 25], [15, 30, 50]], 'vertical_barriers': [[25, 10, 22]], 'range_x': [0, 50], 'range_y': [0, 30]} [(5, 5), (26, 9), (25, 23), (45, 25)] (5, 5) (26, 9) (26, 9) (25, 23) (25, 23) (45, 25) {'operation': 103, 'storage': 232, 'length': 49.45584412271569, 'llm_output': [(5, 5), (26, 9), (25, 23), (45, 25)]}
Steps to reproduce the problem
Expected behavior
Other information