Unverified Commit 8d540228 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Remove TestCase dependency for test_models_detection_anchor_utils.py (#4207)

parent 693e0ae8
import torch
from common_utils import TestCase, assert_equal
from common_utils import assert_equal
from torchvision.models.detection.anchor_utils import AnchorGenerator, DefaultBoxGenerator
from torchvision.models.detection.image_list import ImageList
import pytest
class Tester(TestCase):
class Tester:
def test_incorrect_anchors(self):
incorrect_sizes = ((2, 4, 8), (32, 8), )
incorrect_aspects = (0.5, 1.0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment