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 e25d37f commit d112f71
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions easyvolcap/dataloaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/dataloaders/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/cameras/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/networks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/networks/embedders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/renderers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/samplers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/models/supervisors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/runners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))
4 changes: 2 additions & 2 deletions easyvolcap/runners/evaluators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))

4 changes: 2 additions & 2 deletions easyvolcap/runners/visualizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

tb = sys.exc_info()[-1]
tb = tb.tb_next
filename = exception_traceback.tb_frame.f_code.co_filename
line_number = exception_traceback.tb_lineno
filename = tb.tb_frame.f_code.co_filename
line_number = tb.tb_lineno

log(yellow(f'Failed to import {red(basename(filename))}:{red(line_number)}, {red(type(e).__name__)}: {e}'))

0 comments on commit d112f71

Please sign in to comment.