Open marwanihab opened 5 years ago
I got the same error too, but I have no solutions. Have you solve it?
Have you solve it?
Looking for an answer to this as well.
大家有解决方案了吗
I think the problem is the parameter setting of world.dim_c in simple_crypto.py.In this file,I tried changing the parameter of world.dim_c to 3, the program didn't report errors and the anmination demonstration effect is normal.
I changed multiagent-particle-envs/multiagent/environment.py,Line 234 to geom.set_color(entity.color[0],entity.color[1],entity.color[2],0.5),and it could run correctly.
Running the train.py using the simple crypto scenario gives me this error, I have tried printing out the value of the alpha but all I got was only one value so how to solve this ?
`Traceback (most recent call last): File "train.py", line 193, in
train(arglist)
File "train.py", line 153, in train
env.render()
File "/Users/Maro31/bachelor/multiagent-particle-envs/multiagent/environment.py", line 235, in render
geom.set_color(*entity.color, alpha=0.5)
TypeError: set_color() got multiple values for argument 'alpha'```