Update utils/ax_model_bin.py
Browse files- utils/ax_model_bin.py +1 -1
utils/ax_model_bin.py
CHANGED
|
@@ -76,7 +76,7 @@ class AX_SenseVoiceSmall:
|
|
| 76 |
# model_file, device_id, intra_op_num_threads=intra_op_num_threads
|
| 77 |
# )
|
| 78 |
#self.session = axe.InferenceSession(model_file, providers='AxEngineExecutionProvider')
|
| 79 |
-
|
| 80 |
self.batch_size = batch_size
|
| 81 |
self.blank_id = 0
|
| 82 |
self.seq_len = seq_len
|
|
|
|
| 76 |
# model_file, device_id, intra_op_num_threads=intra_op_num_threads
|
| 77 |
# )
|
| 78 |
#self.session = axe.InferenceSession(model_file, providers='AxEngineExecutionProvider')
|
| 79 |
+
self.session = axe.InferenceSession(model_file)
|
| 80 |
self.batch_size = batch_size
|
| 81 |
self.blank_id = 0
|
| 82 |
self.seq_len = seq_len
|