[fix] fix training and export error (#81)
This commit is contained in:
parent
50354a38e0
commit
490a474d4e
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user