From 602431a0125844bba921d5d236a2deac956a9dd1 Mon Sep 17 00:00:00 2001 From: xuzhen Date: Sat, 6 Apr 2024 16:38:09 +0800 Subject: [PATCH] Revert "easyvolcap: import fix bugs" This reverts commit 973559944fce339e9b897d71ba237786682e9636. --- easyvolcap/dataloaders/__init__.py | 2 +- easyvolcap/dataloaders/datasets/__init__.py | 2 +- easyvolcap/models/__init__.py | 2 +- easyvolcap/models/cameras/__init__.py | 2 +- easyvolcap/models/networks/__init__.py | 2 +- easyvolcap/models/networks/embedders/__init__.py | 2 +- easyvolcap/models/renderers/__init__.py | 2 +- easyvolcap/models/samplers/__init__.py | 2 +- easyvolcap/models/supervisors/__init__.py | 2 +- easyvolcap/runners/__init__.py | 2 +- easyvolcap/runners/evaluators/__init__.py | 2 +- easyvolcap/runners/visualizers/__init__.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/easyvolcap/dataloaders/__init__.py b/easyvolcap/dataloaders/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/dataloaders/__init__.py +++ b/easyvolcap/dataloaders/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/dataloaders/datasets/__init__.py b/easyvolcap/dataloaders/datasets/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/dataloaders/datasets/__init__.py +++ b/easyvolcap/dataloaders/datasets/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/__init__.py b/easyvolcap/models/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/__init__.py +++ b/easyvolcap/models/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/cameras/__init__.py b/easyvolcap/models/cameras/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/cameras/__init__.py +++ b/easyvolcap/models/cameras/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/networks/__init__.py b/easyvolcap/models/networks/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/networks/__init__.py +++ b/easyvolcap/models/networks/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/networks/embedders/__init__.py b/easyvolcap/models/networks/embedders/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/networks/embedders/__init__.py +++ b/easyvolcap/models/networks/embedders/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/renderers/__init__.py b/easyvolcap/models/renderers/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/renderers/__init__.py +++ b/easyvolcap/models/renderers/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/samplers/__init__.py b/easyvolcap/models/samplers/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/samplers/__init__.py +++ b/easyvolcap/models/samplers/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/models/supervisors/__init__.py b/easyvolcap/models/supervisors/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/models/supervisors/__init__.py +++ b/easyvolcap/models/supervisors/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/runners/__init__.py b/easyvolcap/runners/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/runners/__init__.py +++ b/easyvolcap/runners/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/runners/evaluators/__init__.py b/easyvolcap/runners/evaluators/__init__.py index 741040d..de9dec6 100644 --- a/easyvolcap/runners/evaluators/__init__.py +++ b/easyvolcap/runners/evaluators/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno diff --git a/easyvolcap/runners/visualizers/__init__.py b/easyvolcap/runners/visualizers/__init__.py index b655dd6..96be986 100644 --- a/easyvolcap/runners/visualizers/__init__.py +++ b/easyvolcap/runners/visualizers/__init__.py @@ -10,7 +10,7 @@ import sys from easyvolcap.utils.console_utils import * - exception_type, exception_object, exception_traceback = sys.exc_info(-1) + exception_type, exception_object, exception_traceback = sys.exc_info() filename = exception_traceback.tb_frame.f_code.co_filename line_number = exception_traceback.tb_lineno