Skip to content

Commit ffd535a

Browse files
committed
Fix named argument
1 parent 481bc77 commit ffd535a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reward_preprocessing/interpret.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def interpret(
179179
# Combine rew net with GAN.
180180
gan = th.load(gan_path, map_location=th.device(device))
181181
model_to_analyse = RewardGeneratorCombo(
182-
reward_net=rew_net, generator=gan.generator
182+
rew_net=rew_net, generator=gan.generator
183183
)
184184

185185
model_to_analyse.eval() # Eval for visualization.

0 commit comments

Comments
 (0)