mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-14 11:26:24 +08:00
logging
Summary: Use logging instead of printing in the internals of implicitron. Reviewed By: davnov134 Differential Revision: D35247581 fbshipit-source-id: be5ddad5efe1409adbae0575d35ade6112b3be63
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6473aa316c
commit
199309fcf7
@@ -10,6 +10,7 @@ import sys
|
||||
import unittest
|
||||
import unittest.mock
|
||||
|
||||
|
||||
if os.environ.get("FB_TEST", False):
|
||||
from common_testing import get_pytorch3d_dir
|
||||
else:
|
||||
|
||||
@@ -24,6 +24,7 @@ from pytorch3d.implicitron.models.model_dbir import ModelDBIR
|
||||
from pytorch3d.implicitron.tools.metric_utils import calc_psnr, eval_depth
|
||||
from pytorch3d.implicitron.tools.utils import dataclass_to_cuda_
|
||||
|
||||
|
||||
if os.environ.get("FB_TEST", False):
|
||||
from .common_resources import get_skateboard_data, provide_lpips_vgg
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user