-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Competition submission failed with some unexpected errors #1652
Comments
Hello @GrandpaDZB , it looks like the main cause of the exception is that there were no agents for some reason as you mentioned. The evaluation failed because the hidden evaluation attempts a number of retries and it looks like it was consistent. We are attempting to debug the issue. Your submission will be re-run when the fix is in. |
Hi @GrandpaDZB, It appears that your submission failed in a multiagent scenario. In multiagent scenarios, the agents may start at different time points in the simulation. Consider the following multiagent scenario with 3 agents.
Agent_0 and Agent_1 start at time 0s, whereas Agent_2 starts at time 31s. Since both Agent_0 and Agent_1 are done by time 20s, the observation returned by SMARTS for time 21s to 30s will be an empty dictionary, although the environment has not ended yet as Agent_2 is yet to become done. This is the expected behaviour of SMARTS. Please ensure that your policy is capable of handling complex multiagent scenarios. |
Hi @Adaickalavan , Thanks for your reply and clear demonstration. Now I know how to modify the policy to handle these situations and thus I think this issue could be closed. Thanks again for your help. |
High Level Description
Hi! I am trying to submit my model to the 2022 NeurIPS Driving SMARTS Competition track1. The submission failed with some unexpected errors (Seems like the errors were not caused by my code, but by SMARTS).
The error log is too long so I just pick the last few lines that I thought may show how the submission fails. (I also upload the complete error log in case you need it.)
Could you please let me know why and how this happens?
And I also notice another unexpected error.
The pseudocode of function pack_observation in wrappers.py is like
As you can see, the only situation that can happen with this error is when there is no agent to be controlled while the env is not done. It is weird. May it be a bug or do I misunderstand something?
P.S. my submission passed the validation phase and I have never seen these errors before, either in training or in the validation phase.
Desired SMARTS version
[0.6.1]
Operating System
ubuntu 20.04
python 3.8
gym 0.19.0
eclipse-sumo 1.10.0
The text was updated successfully, but these errors were encountered: