Commit f61c515b authored by yinchimaoliang's avatar yinchimaoliang
Browse files

fix l to length

parent f2ae5e94
...@@ -148,7 +148,7 @@ def extract_sunrgbd_data(idx_filename, ...@@ -148,7 +148,7 @@ def extract_sunrgbd_data(idx_filename,
continue continue
obb = np.zeros((8)) obb = np.zeros((8))
obb[0:3] = obj.centroid obb[0:3] = obj.centroid
obb[3:6] = np.array([obj.l, obj.w, obj.h]) obb[3:6] = np.array([obj.length, obj.width, obj.height])
obb[6] = obj.heading_angle obb[6] = obj.heading_angle
obb[7] = sunrgbd_utils.type2class[obj.classname] obb[7] = sunrgbd_utils.type2class[obj.classname]
object_list.append(obb) object_list.append(obb)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment