enable cuda for classify_audio and demucs_wrapper
This commit is contained in:
@@ -5,10 +5,6 @@ import numpy as np
|
||||
import csv
|
||||
import os
|
||||
|
||||
# Disable CUDA
|
||||
os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
|
||||
|
||||
|
||||
model = hub.load('https://tfhub.dev/google/yamnet/1')
|
||||
|
||||
#Find the name of the class with the top score when mean-aggregated across frames.
|
||||
|
||||
Reference in New Issue
Block a user