Replies: 2 comments 6 replies
-
Can you give some code for the "benchmark" so we see what you measured? |
Beta Was this translation helpful? Give feedback.
5 replies
-
It seems that using model.separate() , the process is on CPU and not on GPU . Is it a way to force using GPU ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I evaluate some models for speech enhancement using the python API (ConvTasNet,DPT,DPRNN and DCRN)
Did you already notice the big difference for time execution for the DPRNN model compared to other models ?
Used models:
model_ConvTasNet = BaseModel.from_pretrained("JorisCos/ConvTasNet_Libri1Mix_enhsingle_16k")
model_DPRNNTasNet = BaseModel.from_pretrained("JorisCos/DPRNNTasNet-ks2_Libri1Mix_enhsingle_16k")
model_DPTNet = BaseModel.from_pretrained("JorisCos/DPTNet_Libri1Mix_enhsingle_16k")
model_DCCRNet = BaseModel.from_pretrained("JorisCos/DCCRNet_Libri1Mix_enhsingle_16k")
inference : model.separate('test.wav') test.wav is a 6 second recording @16kHz
here the time from a jupyter notebook for 'model.separate()' execution
ConvTasNet Wall time: 1.88 s
DPT Wall time: 4.49 s
DCCRN Wall time: 2.63 s
DPRNN Wall time: 43.2 s
Beta Was this translation helpful? Give feedback.
All reactions