[internutopia] Add doc for building benchmark#2
Open
uzuku wants to merge 3 commits intoInternRobotics:mainfrom
Open
[internutopia] Add doc for building benchmark#2uzuku wants to merge 3 commits intoInternRobotics:mainfrom
uzuku wants to merge 3 commits intoInternRobotics:mainfrom
Conversation
HanqingWangAI
requested changes
Nov 11, 2025
Collaborator
HanqingWangAI
left a comment
There was a problem hiding this comment.
Please go through the typos and check the issue about the terminated condition.
|
|
||
| First of all you should define a task class for the benchmark. In the benchmark one or more instances of the task class will be created and executed in the simulator. | ||
|
|
||
| You can refer to the [How to Add Custom Task](how-to-add-task.md) tutorial to learn how to add a custom task. The core is to implement for a task the `is_done` method to determine when the task ends. For example, the task ends when the robot reaches a certain position or reaches a certain number of steps for a navigation task. |
Collaborator
There was a problem hiding this comment.
Does the user need to define the terminated condition as well when defining a task?
|
|
||
| ### 2.2 Metric | ||
|
|
||
| The metrics are used to evaluate the performance of an agent's behavior in each task execution. The core is to implement for a metric the `update` method to update the metric with the latest observation. |
Collaborator
There was a problem hiding this comment.
The core is to implement for a metric the update method to update the metric with the latest observation. -> The key is to implement an update method for each metric, allowing it to be updated with the latest observation.
|
|
||
| <img src="../../../_static/image/internutopia_runner.webp" width="80%"> | ||
|
|
||
| With benchmark specific task and metrics, the config to create env looks like: |
Collaborator
There was a problem hiding this comment.
benchmark specific -> benchmark-specific
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.