Skip to content

Commit 801914d

Browse files
committed
fixed path
1 parent 2c301e1 commit 801914d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

3Dvisualize.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def load_boxes(path):
3434

3535
def load_depthmap(path):
3636
image = cv2.imread(path, cv2.IMREAD_GRAYSCALE)
37+
print(path)
3738
image = cv2.resize(image, (0, 0), fx=0.25, fy=0.25, interpolation=cv2.INTER_NEAREST)
3839
return image
3940

@@ -117,7 +118,7 @@ def pick_name():
117118
random.shuffle(files)
118119
for f in files:
119120
without_suffix = f.split('.')[0]
120-
return '_'.join(without_suffix.split('_'[:1]))
121+
return '_'.join(without_suffix.split('_')[:2])
121122
return ''
122123

123124

0 commit comments

Comments
 (0)