jadechoghari
commited on
Commit
•
e3b4eb8
1
Parent(s):
0d7e2ec
Update infer/infer_mos5.py
Browse files- infer/infer_mos5.py +2 -2
infer/infer_mos5.py
CHANGED
@@ -11,12 +11,12 @@ import sys
|
|
11 |
sys.path.append('/content/qa-mdt')
|
12 |
|
13 |
from .audioldm_train.utilities.data.dataset_original_mos5 import AudioDataset as AudioDataset
|
14 |
-
|
15 |
from torch.utils.data import DataLoader
|
16 |
from pytorch_lightning import seed_everything
|
17 |
from .audioldm_train.utilities.tools import get_restore_step
|
18 |
from .audioldm_train.utilities.model_util import instantiate_from_config
|
19 |
-
|
20 |
|
21 |
def infer(dataset_key, configs, config_yaml_path, exp_group_name, exp_name):
|
22 |
|
|
|
11 |
sys.path.append('/content/qa-mdt')
|
12 |
|
13 |
from .audioldm_train.utilities.data.dataset_original_mos5 import AudioDataset as AudioDataset
|
14 |
+
from .audioldm_train.utilities.tools import build_dataset_json_from_list
|
15 |
from torch.utils.data import DataLoader
|
16 |
from pytorch_lightning import seed_everything
|
17 |
from .audioldm_train.utilities.tools import get_restore_step
|
18 |
from .audioldm_train.utilities.model_util import instantiate_from_config
|
19 |
+
|
20 |
|
21 |
def infer(dataset_key, configs, config_yaml_path, exp_group_name, exp_name):
|
22 |
|