Skip to content

Commit 0911f23

Browse files
authored
Update tests/estimators/object_detection/test_pytorch_yolo_loss_wrapper.py
Order imports
1 parent 8211f52 commit 0911f23

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/estimators/object_detection/test_pytorch_yolo_loss_wrapper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
1616
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1717
# SOFTWARE.
18+
import os
1819
import pytest
1920
import torch
20-
import os
21-
from art.estimators.object_detection.pytorch_yolo_loss_wrapper import PyTorchYoloLossWrapper
2221
from ultralytics import YOLO
2322

23+
from art.estimators.object_detection.pytorch_yolo_loss_wrapper import PyTorchYoloLossWrapper
24+
2425
os.environ["TORCH_FORCE_NO_WEIGHTS_ONLY_LOAD"] = "1"
2526

2627

0 commit comments

Comments
 (0)