π [Rename] the test file name, match file name
Browse files
tests/test_tools/{test_module_helper.py β test_module_utils.py}
RENAMED
@@ -2,7 +2,6 @@ import sys
|
|
2 |
from pathlib import Path
|
3 |
|
4 |
import pytest
|
5 |
-
import torch
|
6 |
from torch import nn
|
7 |
|
8 |
project_root = Path(__file__).resolve().parent.parent.parent
|
|
|
2 |
from pathlib import Path
|
3 |
|
4 |
import pytest
|
|
|
5 |
from torch import nn
|
6 |
|
7 |
project_root = Path(__file__).resolve().parent.parent.parent
|
tests/test_utils/{test_dataaugment.py β test_data_augmentation.py}
RENAMED
@@ -54,7 +54,7 @@ def test_mosaic():
|
|
54 |
|
55 |
# Mock parent with image_size and get_more_data method
|
56 |
class MockParent:
|
57 |
-
image_size = 100
|
58 |
|
59 |
def get_more_data(self, num_images):
|
60 |
return [(img, boxes) for _ in range(num_images)]
|
|
|
54 |
|
55 |
# Mock parent with image_size and get_more_data method
|
56 |
class MockParent:
|
57 |
+
image_size = (100, 100)
|
58 |
|
59 |
def get_more_data(self, num_images):
|
60 |
return [(img, boxes) for _ in range(num_images)]
|
tests/test_utils/{test_loss.py β test_loss_functions.py}
RENAMED
File without changes
|