Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit 5d9ba4fa authored by Nicola Gatto's avatar Nicola Gatto
Browse files

Fix a bug which caused a crash after DQN evaluation

parent f8565806
Pipeline #149947 failed with stages
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
......@@ -906,4 +906,4 @@ class DqnAgent(Agent):
def _save_current_as_best_net(self):
self._best_net = copy_net(
self._qnet, (1,) + self._state_dim, ctx=self._ctx)
self._qnet, self._state_dim, ctx=self._ctx)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment