lmx0's picture
Upload 4 files
2be48c4
raw
history blame
195 Bytes
from train import ASR_Model
from model_cnn import Model
model = ASR_Model(device='cuda',model_path='model/model.pth')
result = model.predict('Examples_中原石化加油站.wav')
print(result)