Comments (9)
tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py
line 25,
super().__init__(targets=[target],
from co-llm-agents.
tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py line 25,
super().__init__(targets=[target],
Thank you for your answer. I would like to ask how long demo_scene.py takes to run
The program took about 1 minute to execute
from co-llm-agents.
after execute python demo/demo_scene.py
got the following same error:
Traceback (most recent call last):
File "/home/dan/proj2024_2/Co-LLM-Agents/tdw_mat/demo/demo_scene.py", line 147, in
data = c.communicate([])
File "/home/dan/anaconda3/envs/mamba/envs/tdw_mat/lib/python3.9/site-packages/tdw/controller.py", line 160, in communicate
m.on_send(resp=resp)
File "/home/dan/anaconda3/envs/mamba/envs/tdw_mat/lib/python3.9/site-packages/tdw/add_ons/replicant.py", line 170, in on_send
initialization_commands = self.action.get_initialization_commands(resp=resp,
File "/home/dan/proj2024_2/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/put_in.py", line 94, in get_initialization_commands
return self._move_object_arm_away(resp=resp, static=static, dynamic=dynamic)
File "/home/dan/proj2024_2/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/put_in.py", line 158, in _move_object_arm_away
self._sub_action = ReachForTransportChallenge(target={k: v for k, v in target.items()},
File "/home/dan/proj2024_2/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py", line 25, in init
super().init(target=target,
TypeError: init() got an unexpected keyword argument 'target'
from co-llm-agents.
Which tdw version are you using?
It's recommended to use the same version as in tdw_mat/requirements.txt tdw==1.11.23.5
With a different version, there may be conflicts regarding replicants' actions.
from co-llm-agents.
Following are the output after executing python demo/demo_scene.py
Which is the same version as the requirements.txt but still have the TypeError
You are using TDW 1.11.23.5 but version 1.12.24.1 is available.
Consider upgrading to the latest version of TDW (1.12.24):
pip3 install tdw -U
Build version 1.11.23
Unity Engine 2020.3.24f1
Python tdw module version 1.11.23
{<Arm.left: 0>: 13013409, <Arm.right: 1>: 6753020}
[13013409]
[6753020, 2540002, 11266758, 8676814, 4546869, 3843252]
Arm.left Arm.right
Traceback (most recent call last):
File "/home/eclab/projects/hermit/collm/Co-LLM-Agents(base1)/tdw_mat/demo/demo_scene.py", line 147, in
data = c.communicate([])
File "/home/eclab/anaconda3/envs/tdw_mat/lib/python3.9/site-packages/tdw/controller.py", line 160, in communicate
m.on_send(resp=resp)
File "/home/eclab/anaconda3/envs/tdw_mat/lib/python3.9/site-packages/tdw/add_ons/replicant.py", line 170, in on_send
initialization_commands = self.action.get_initialization_commands(resp=resp,
File "/home/eclab/projects/hermit/collm/Co-LLM-Agents(base1)/tdw_mat/transport_challenge_multi_agent/put_in.py", line 94, in get_initialization_commands
return self._move_object_arm_away(resp=resp, static=static, dynamic=dynamic)
File "/home/eclab/projects/hermit/collm/Co-LLM-Agents(base1)/tdw_mat/transport_challenge_multi_agent/put_in.py", line 158, in _move_object_arm_away
self._sub_action = ReachForTransportChallenge(target={k: v for k, v in target.items()},
File "/home/eclab/projects/hermit/collm/Co-LLM-Agents(base1)/tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py", line 25, in init
super().init(target=target,
TypeError: init() got an unexpected keyword argument 'target'
from co-llm-agents.
I'm experiencing the same error in tdw==1.11.23.5
You are using TDW 1.11.23.5 but version 1.12.24.2 is available.
Consider upgrading to the latest version of TDW (1.12.24):
pip3 install tdw -U
Build version 1.11.23
Unity Engine 2020.3.24f1
Python tdw module version 1.11.23
{<Arm.left: 0>: 6884406, <Arm.right: 1>: 7100798}
[6884406]
[7100798, 4938454, 16761474, 2307674, 6251514, 8346748]
Arm.left Arm.right
Traceback (most recent call last):
File "/data/LeeJH/Co-LLM-Agents/tdw_mat/demo/demo_scene.py", line 147, in
data = c.communicate([])
File "/home/guest1/miniconda3/envs/tdw_mat/lib/python3.9/site-packages/tdw/controller.py", line 160, in communicate
m.on_send(resp=resp)
File "/home/guest1/miniconda3/envs/tdw_mat/lib/python3.9/site-packages/tdw/add_ons/replicant.py", line 170, in on_send
initialization_commands = self.action.get_initialization_commands(resp=resp,
File "/data/LeeJH/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/put_in.py", line 94, in get_initialization_commands
return self._move_object_arm_away(resp=resp, static=static, dynamic=dynamic)
File "/data/LeeJH/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/put_in.py", line 158, in _move_object_arm_away
self._sub_action = ReachForTransportChallenge(target={k: v for k, v in target.items()},
File "/data/LeeJH/Co-LLM-Agents/tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py", line 25, in init
super().init(target=target,
TypeError: init() got an unexpected keyword argument 'target'
from co-llm-agents.
Does this issue also lead to that sometimes the agents goes through the wall and stay out of the all homes?
from co-llm-agents.
tdw_mat/transport_challenge_multi_agent/reach_for_transport_challenge.py line 25,
super().__init__(targets=[target],
Thank you for your answer. I would like to ask how long demo_scene.py takes to run
from co-llm-agents.
Thank you all for your contributions and patience with this issue.
The problem arose due to an update in the TDW environment in version 1.11.20, where the parameter name was changed from target
to targets
.
We have addressed this bug in the latest commit by changing target
to targets
.
from co-llm-agents.
Related Issues (20)
- unity_simulator.comm_unity.UnityCommunicationException: HTTPConnectionPool(host='127.0.0.1', port=6314): Read timed out HOT 7
- Unresolved reference 'goals' HOT 1
- About hardware configuration HOT 1
- tdw_mat HOT 1
- Couldn't launch the linux_exec.v2.3.0 environment. HOT 1
- CoLLAMA HOT 2
- when i reproduce the code, the code is always stopped by the problem: idex out of bounds HOT 4
- Inference time HOT 4
- index out of bound
- Agents go through walls and go to outside of all rooms HOT 2
- windows or linux HOT 1
- When I run test_H.sh, I receive the following error message: AttributeError: 'NoneType' object has no attribute 'name' HOT 1
- You are using TDW 1.11.18.0 but version 1.12.0.0 is available. To upgrade to the last version of 1.11: pip3 install tdw==1.11.23.5 Consider upgrading to the latest version of TDW (1.12.0): pip3 install tdw -U Couldn't find build at /home/chris/tdw_build/TDW/TDW.x86_64 Downloading now... HOT 1
- Logging error after run `scripts/test_LMs.sh`. HOT 1
- socket.timeout: timed out HOT 1
- Is there anyone really run this program successfully ? HOT 2
- Unresolved reference 'Random_agent' HOT 1
- Unresolved reference 'utils_rl_agent' HOT 1
- Unresolved reference 'apartment' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from co-llm-agents.