-
Notifications
You must be signed in to change notification settings - Fork 17
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
human demo collection during online interaction #1444
Conversation
@@ -29,7 +29,6 @@ def test_online_nsrt_learning_approach(): | |||
"num_test_tasks": 3, | |||
"explorer": "random_options", | |||
"online_learning_max_novelty_count": float("inf"), | |||
"online_learning_lifelong": True |
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.
i'm removing this because I think there's a separate bug: #1445
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.
Looks mostly good! Just left a minor question about a choice you made in the Teacher
class; I'd like to understand before granting approval.
@@ -909,6 +909,9 @@ def copy(self) -> State: | |||
class LoggingMonitor(abc.ABC): | |||
"""Observes states and actions during environment interaction.""" | |||
|
|||
def reset(self, train_or_test: str, task_idx: int) -> None: | |||
"""Called when the monitor starts a new episode.""" | |||
|
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.
did we really mean to do nothing here? If so, could you leave a comment explaining why and also use a pass
statement?
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.
LGTM!
this is hacky, but addressing root issues (#1443) will require a lot more work. a better way to implement this would be to have the teacher and the student interacting in the same environment. that's certainly what we will want to do in the real world.
I tested this through the online bridge policy learning branch.