We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 518c192 commit f291c2fCopy full SHA for f291c2f
src/reward_preprocessing/common/utils.py
@@ -120,9 +120,10 @@ def rollouts_to_dataloader(
120
121
122
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.
+ """Visualize samples from a GAN.
+
+ 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.
127
"""
128
for i, transition in enumerate(samples):
129
num_acts = transition.shape[0] - 6
0 commit comments