mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2026-03-02 02:05:59 +08:00
move targets
Summary: Move testing targets from pytorch3d/tests/TARGETS to pytorch3d/TARGETS. Reviewed By: shapovalov Differential Revision: D36186940 fbshipit-source-id: a4c52c4d99351f885e2b0bf870532d530324039b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f625fe1f8b
commit
34f648ede0
@@ -4,7 +4,6 @@
|
||||
# This source code is licensed under the BSD-style license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
import os
|
||||
import unittest
|
||||
|
||||
from omegaconf import OmegaConf
|
||||
@@ -30,15 +29,9 @@ from pytorch3d.implicitron.tools.config import (
|
||||
get_default_args,
|
||||
remove_unused_components,
|
||||
)
|
||||
from tests.common_testing import get_tests_dir
|
||||
|
||||
|
||||
if os.environ.get("FB_TEST", False):
|
||||
from common_testing import get_tests_dir
|
||||
|
||||
from .common_resources import provide_resnet34
|
||||
else:
|
||||
from common_resources import provide_resnet34
|
||||
from tests.common_testing import get_tests_dir
|
||||
from .common_resources import provide_resnet34
|
||||
|
||||
DATA_DIR = get_tests_dir() / "implicitron/data"
|
||||
DEBUG: bool = False
|
||||
|
||||
Reference in New Issue
Block a user