funasr/bin/inference.py
@@ -310,9 +310,6 @@ logging.info("decoding, utt: {}, empty speech".format(key)) continue # if kwargs["device"] == "cpu": # batch_size = 0 if len(sorted_data) > 0 and len(sorted_data[0]) > 0: batch_size = max(batch_size, sorted_data[0][0][1] - sorted_data[0][0][0])