Spaces:
Paused
Paused
import abc | |
class Policy(abc.ABC): | |
def __init__(self, device, *args, **kwargs): | |
self.device = device | |
def get_action(self, obs_dict, **kwargs): | |
"""Predict an action based on the input observation """ | |
pass | |
def eval(self): | |
"""Set the policy to evaluation mode""" | |
pass |