Add temporary patch in TD-MPC
This commit is contained in:
@@ -330,6 +330,10 @@ class TDMPCPolicy(nn.Module):
|
|||||||
return td_target
|
return td_target
|
||||||
|
|
||||||
def forward(self, batch, step):
|
def forward(self, batch, step):
|
||||||
|
# TODO(alexander-soare): Refactor TDMPC and make it comply with the policy interface documentation.
|
||||||
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
def update(self, batch, step):
|
||||||
"""Main update function. Corresponds to one iteration of the model learning."""
|
"""Main update function. Corresponds to one iteration of the model learning."""
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user