Skip to content

Commit fdee4d7

Browse files
committed
Fix matrix dimensions
1 parent 987e592 commit fdee4d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

preprocessing/process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def _process(data, clip_value, std_channels):
1515
data = np.clip(data, -clip_value, clip_value)
16-
data = data / std_channels
16+
data = data / np.expand_dims(std_channels, axis=1)
1717
return data
1818

1919

0 commit comments

Comments
 (0)