Closed fuleilei17 closed 3 years ago
Hi, @fuleilei17, thanks for your interest. Could you please provide more information for your implementation, thus I can help figure out why you come across this issue?
Thank you for your reply! I run your code and get output as follows, suggesting that there is no model,
I am not sure if this is my problem or? In order to reproduce the work in your paper, what should I do next?
Hi, I think it should be an error. If possible could you please try it on a ubuntu computer?
Hi, I solve the problem which i have mentioned above "TypeError: object of type 'numpy.int32' has no len()", by changing File "MARL\common\utils.py" line 37, in index_to_one_hot : " one_hot = np.zeros((len(index), dim)) one_hot[np.arange(len(index)), index] = 1. " to " ss = str(index) one_hot = np.zeros((len(ss), dim)) one_hot[np.arange(len(ss)), index] = 1. " because it seems that only str(index) can use len() correctly, not index which is "numpy.int32" type.
Hi, now I run the code "run_mappo.py", I can get the result as follow:
and I can see the videos in the folder, it seems that i run your code successfully, right?
Thank you for sharing such a good project! I am now studying your paper. It seems that you are also a Chinese, I hope your studies go well!
@fuleilei17, yes, you have the correct output, and also thanks for your kind words.
Hi, now I run the code "run_mappo.py", I can get the result as follow:
and I can see the videos in the folder, it seems that i run your code successfully, right?
Thank you for sharing such a good project! I am now studying your paper. It seems that you are also a Chinese, I hope your studies go well!
Did you run in Windows? Did you meet this problem? looking for help
Hi! In the closed issue, I see that "If you can see the output as follows, you are able to run the code. The error means there are no existing models." Now I have the same outputs, but I want to know what I should do next to solve "no existing models", I am a rookie in MARL and i am confused. Thanks!!!