File size: 391 Bytes
88b57c0
 
 
 
 
 
 
 
 
 
 
 
d24a3d9
88b57c0
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Standard Library Imports
import os
import subprocess

# Third Party Imports
import torch
import onnxruntime as ort

# Local Imports
from models.MDX_net.mdx_net import Conv_TDF_net_trimm
from loader import Loader

vocal_path = "./datasets/output/vocals.wav"

# Global Variables
COMPUTATION_DEVICE = "cuda" if torch.cuda.is_available() else "cpu"


def main():
    print(COMPUTATION_DEVICE)