1
0
mirror of https://github.com/JosephKJ/OWOD.git synced 2025-06-03 14:50:40 +08:00
OWOD/tests/test_packaging.py

25 lines
634 B
Python
Raw Normal View History

2020-09-29 05:47:18 +05:30
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
import unittest
from detectron2.utils.collect_env import collect_env_info
class TestProjects(unittest.TestCase):
def test_import(self):
from detectron2.projects import point_rend
_ = point_rend.add_pointrend_config
import detectron2.projects.deeplab as deeplab
_ = deeplab.add_deeplab_config
# import detectron2.projects.panoptic_deeplab as panoptic_deeplab
# _ = panoptic_deeplab.add_panoptic_deeplab_config
class TestCollectEnv(unittest.TestCase):
def test(self):
_ = collect_env_info()