Skip to content

Commit

Permalink
Fix numpy usages removed in numpy 2.0.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 657614534
  • Loading branch information
Sound Separation Team committed Sep 23, 2024
1 parent 06c1cbc commit e041a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/train/data_meeting_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def utterance_info_generator():
(num_utterances, 1),
(num_utterances, 1),
(num_utterances, 1)]
tensor_type = [np.string_, np.int32, np.int32, np.float32,
tensor_type = [np.bytes_, np.int32, np.int32, np.float32,
np.int32, np.float32]

(wav_paths, diarizations, spkindices, meeting_scales, start_samples,
Expand Down

0 comments on commit e041a64

Please sign in to comment.