Skip to content

Commit f291c2f

Browse files
committed
Fix docstring format
1 parent 518c192 commit f291c2f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/reward_preprocessing/common/utils.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,10 @@ def rollouts_to_dataloader(
120120

121121

122122
def visualize_samples(samples: np.ndarray, save_dir):
123-
"""Visualize samples from a GAN. Saves obs and next obs as png files, and takes
124-
mean over height and width dimensions to turn act into a numpy array, before
125-
saving it.
123+
"""Visualize samples from a GAN.
124+
125+
Saves obs and next obs as png files, and takes mean over height and width dimensions
126+
to turn act into a numpy array, before saving it.
126127
"""
127128
for i, transition in enumerate(samples):
128129
num_acts = transition.shape[0] - 6

0 commit comments

Comments
 (0)