Skip to content

Commit 1813621

Browse files
author
spencer@primus
committed
Update debug messages on perception
1 parent ddbb391 commit 1813621

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

avstack/modules/perception/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def load_model_from_checkpoint(self, config_file, checkpoint_file, gpu):
198198
chk_path = os.path.join(mm2d_root, checkpoint_file)
199199
if not os.path.exists(chk_path):
200200
raise FileNotFoundError(
201-
f"Cannot find {checkpoint_file} checkpoint, mm3d root: {mm3d_root}, mm2d root: {mm2d_root}"
201+
f"Cannot find {checkpoint_file} checkpoint\n(tried {chk_path})\nmm3d root: {mm3d_root}\nmm2d root: {mm2d_root}"
202202
)
203203

204204
# set up inference model settings

avstack/modules/perception/monoculardepth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
try:
1212
from midas.model_loader import load_model
1313
except ModuleNotFoundError:
14-
print("MIDAS module not found.")
14+
print("MIDAS module not found (this is not an error).")
1515

1616
from avstack import __file__ as avfile
1717
from avstack.config import MODELS

0 commit comments

Comments
 (0)