dmar-bonn / ipp-marl

Multi-UAV Adaptive Path Planning Using Deep Reinforcement Learning
62 stars 4 forks source link

Some Plroblem #2

Open zhang-snowy opened 1 year ago

zhang-snowy commented 1 year ago

Thank you very much for your paper and code, I have successfully run your main.py, but there are still a few points I would like to discuss with you, I would like to know how to generate the figure 1 in the paper? At the same time, I noticed whether the.json plot under the paper_plot file is missing. Finally, I reported an error when running classification.py, and reported an error message: episode 300 c_i: 0 Traceback (most recent call last): File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1911, in <module> main() File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1906, in main classification.execute() File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 129, in execute self.split_dataset(batch_memory) File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 149, in split_dataset training_input, training_labels = add_data( File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1130, in add_data mlp1 = get_input_mlp1( File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1181, in get_input_mlp1 agent_state_space.index_to_position( File "E:\PE\Code\choose\001\ipp-marl-master\marl_framework\agent\state_space.py", line 64, in index_to_position self.spacing + state[2] * self.spacing, IndexError: list index out of range

two-tigger commented 6 months ago

Thank you very much for your paper and code, I have successfully run your main.py, but there are still a few points I would like to discuss with you, I would like to know how to generate the figure 1 in the paper? At the same time, I noticed whether the.json plot under the paper_plot file is missing. Finally, I reported an error when running classification.py, and reported an error message: episode 300 c_i: 0 Traceback (most recent call last): File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1911, in <module> main() File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1906, in main classification.execute() File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 129, in execute self.split_dataset(batch_memory) File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 149, in split_dataset training_input, training_labels = add_data( File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1130, in add_data mlp1 = get_input_mlp1( File "E:/PE/Code/choose/001/ipp-marl-master/marl_framework/classification.py", line 1181, in get_input_mlp1 agent_state_space.index_to_position( File "E:\PE\Code\choose\001\ipp-marl-master\marl_framework\agent\state_space.py", line 64, in index_to_position self.spacing + state[2] * self.spacing, IndexError: list index out of range

你好,请问这个问题解决了吗?

zxy-Aug commented 4 months ago

它这个代码是不是就没办法仿真,有没有可实现的办法,是我们笨还是有造假的嫌疑?。。。