Skip to content

Commit 595db80

Browse files
committed
formatting
1 parent 9395e61 commit 595db80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gflownet/policy/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def __init__(
5454
# Checkpoint, defaults to None
5555
self.checkpoint = config.get("checkpoint", None)
5656
# TODO: This could be done better? We could store this only when using CNN policy. e.g. self.type could be "cnn"
57-
if hasattr(env, 'height'):
57+
if hasattr(env, "height"):
5858
self.height = env.height
59-
if hasattr(env, 'width'):
59+
if hasattr(env, "width"):
6060
self.width = env.width
6161
# Instantiate the model
6262
self.model, self.is_model = self.make_model()

0 commit comments

Comments
 (0)