-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix junit tests #16
Comments
junit reports 2 errors. The first
|
From the init call, PPOAgent is aware that actionspace is a Dict. |
This seems to work
but now we get troubles later on
|
there are many parameters but no obs_type:
|
Tried to fix with simplistic
But it does not work, if there is no 'obs_type' then PPO seems to assume there is a vec_size parameter and it fails again in the else case. |
I think the parameter 'obs_type' should have been set to 'image'.
|
Added that. And set default 'obs_type' to 'image'. Seems to work, now I get
|
Trying to feed env.action_space and env.observation_space into BasicComplexAgent.
|
@czechows I tried fixing PPO but get stuck at the above error message. The error message is highly technical and gives no clue to what is needed. Therefore it seems a bug in the PPO agent rather than a user error. (in java this would be a unchecked exception and you would be sure, but in python you have to guess) Does that error message make sense to you? Should we move this to separate ticket? |
For now continuing with last error
|
testQAgentGroup is pushing a non-Dict actionspace into QAgent. |
All basic errors except the testSumoGymAdapter issue above were fixed. Checking the PyUnit eclipse tab for more errors. There is one more in QAgentPack.
|
That was a missing bracket, fixed |
one issue remaining, the ERROR: test_PPO_agent above which is now waiting for a reply from czechows for further actions. |
It seems that there is some config misalignment between the agent and the environment for this test. |
Let's make it a ticket and leave it for future. It would be good if it worked, as there should be no problems running PPO with FactoryFloor. However, it is not a priority to fix it now. |
There are a few non-working junit tests
Alex asked to check and fix them
The text was updated successfully, but these errors were encountered: