-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Update Learning-Environment-Design-Agents.md #1659
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
Conversation
…tfix-0.6.0a Hotfix 0.6.0a to master
AddVectorObs(speed.x); | ||
AddVectorObs(speed.y); | ||
AddVectorObs(speed.z); | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing this part?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the following statements are no longer true:
You must explicitly convert Boolean values to a number.
For entities like positions and rotations, you [should] add their components to the feature list individually.
I can retain the examples, but I'd just be rewriting them to call AddVectorObs(isTrueOrFalse)
and AddVectorObs(speed)
, which seemed unnecessary. The previous author apparently thought that an example for directly adding integers was unnecessary, so I followed the same custom for these types as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense.
@@ -128,24 +128,12 @@ properties to use a continuous vector observation: | |||
* **Space Size** — The state size must match the length of your feature vector. | |||
|
|||
The observation feature vector is a list of floating point numbers, which means | |||
you must convert any other data types to a float or a list of floats. | |||
you must convert any other data types to a float or a list of floats. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the extra space.
AddVectorObs((int)currentItem, NUM_ITEM_TYPES); | ||
} | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense.
* Update Learning-Environment-Design-Agents.md * Space typo * Word change
Various documentation updates for the updated interface