Skip to content

Commit 36c7ee4

Browse files
committed
Simplify a bit
1 parent cc5ec7b commit 36c7ee4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/reward_preprocessing/interpret.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,7 @@ def interpret(
367367
)
368368

369369
# remove opacity channel from dataset thumbnails
370-
num_channels_total = dataset_thumbnails.shape[0]
371-
np_trans_tens = dataset_thumbnails[0 : num_channels_total - 1, :, :]
370+
np_trans_tens = dataset_thumbnails[:-1, :, :]
372371

373372
obs, _, next_obs = ndarray_to_transition(np_trans_tens)
374373

0 commit comments

Comments
 (0)