[fix] fix training and export error (#81)

This commit is contained in:
Binbin Zhang 2022-08-28 16:49:24 +08:00 committed by GitHub
parent 50354a38e0
commit 490a474d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

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

View File

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