We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a79629 commit 04f74e2Copy full SHA for 04f74e2
src/reward_preprocessing/vis/reward_vis.py
@@ -289,12 +289,14 @@ def vis_traditional(
289
for feature in feature_list
290
]
291
)
292
+
293
if l2_coeff != 0.0:
294
if l2_layer_name is None:
295
raise ValueError(
296
"l2_layer_name must be specified if l2_coeff is non-zero"
297
298
obj -= l2_objective(l2_layer_name, l2_coeff)
299
300
input_shape = tuple(self.model_inputs_preprocess.shape[1:])
301
302
if param_f is None:
@@ -305,6 +307,7 @@ def param_f():
305
307
h=input_shape[1],
306
308
w=input_shape[2],
309
batch=len(feature_list),
310
+ sd=3,
311
312
313
logging.info(f"Performing vis_traditional with transforms: {transforms}")
0 commit comments