Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
CS5647Team3
/
Mandarin_Tone_Evaluation
like
2
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2be48c4
Mandarin_Tone_Evaluation
/
test.py
lmx0
Upload 4 files
2be48c4
over 1 year ago
raw
Copy download link
history
blame
Safe
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)