[fix] fix training and export error

This commit is contained in:
Binbin Zhang 2022-08-28 16:48:07 +08:00
parent 50354a38e0
commit 71e460462e
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ import argparse
import torch
import yaml
import onnx
import onnxruntime as ort
from wekws.model.kws_model import init_model

View File

@ -13,7 +13,7 @@
# limitations under the License.
import sys
from typing import Optional
from typing import Optional, Tuple
import torch
import torch.nn as nn