Skip to content

Commit

Permalink
easyvolcap: import fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
dendenxu committed Apr 6, 2024
1 parent 86e5f2b commit cf27bf7
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion easyvolcap/dataloaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/dataloaders/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/cameras/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/networks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/networks/embedders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/renderers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/samplers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/models/supervisors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/runners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/runners/evaluators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down
2 changes: 1 addition & 1 deletion easyvolcap/runners/visualizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import sys
from easyvolcap.utils.console_utils import *

exception_type, exception_object, exception_traceback = sys.exc_info()
exception_type, exception_object, exception_traceback = sys.exc_info(-1)
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno

Expand Down

0 comments on commit cf27bf7

Please sign in to comment.