tests
This commit is contained in:
parent
9adb915447
commit
d20b7a166f
|
|
@ -1,6 +1,7 @@
|
||||||
from asyncio import base_tasks
|
from asyncio import base_tasks
|
||||||
import torch
|
|
||||||
import pytest
|
import pytest
|
||||||
|
import torch
|
||||||
|
|
||||||
from enhancer.loss import mean_absolute_error, mean_squared_error
|
from enhancer.loss import mean_absolute_error, mean_squared_error
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import pytest
|
import pytest
|
||||||
import torch
|
import torch
|
||||||
from enhancer import data
|
|
||||||
|
|
||||||
from enhancer.utils.config import Files
|
from enhancer import data
|
||||||
from enhancer.models import Demucs
|
|
||||||
from enhancer.data.dataset import EnhancerDataset
|
from enhancer.data.dataset import EnhancerDataset
|
||||||
|
from enhancer.models import Demucs
|
||||||
|
from enhancer.utils.config import Files
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
import pytest
|
import pytest
|
||||||
import torch
|
import torch
|
||||||
from enhancer import data
|
|
||||||
|
|
||||||
from enhancer.utils.config import Files
|
from enhancer import data
|
||||||
from enhancer.models import WaveUnet
|
|
||||||
from enhancer.data.dataset import EnhancerDataset
|
from enhancer.data.dataset import EnhancerDataset
|
||||||
|
from enhancer.models import WaveUnet
|
||||||
|
from enhancer.utils.config import Files
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
from logging import root
|
from logging import root
|
||||||
|
|
||||||
|
import numpy as np
|
||||||
import pytest
|
import pytest
|
||||||
import torch
|
import torch
|
||||||
import numpy as np
|
|
||||||
|
|
||||||
from enhancer.utils.io import Audio
|
|
||||||
from enhancer.utils.config import Files
|
|
||||||
from enhancer.data.fileprocessor import Fileprocessor
|
from enhancer.data.fileprocessor import Fileprocessor
|
||||||
|
from enhancer.utils.config import Files
|
||||||
|
from enhancer.utils.io import Audio
|
||||||
|
|
||||||
|
|
||||||
def test_io_channel():
|
def test_io_channel():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue