Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guys I get this error when I try to train on my 64 ouster lidar data. can somebody help? #42

Open
MohamedAboushnief opened this issue May 22, 2020 · 2 comments

Comments

@MohamedAboushnief
Copy link

Load EVAL samples from data/KITTI/object/training
Done: total EVAL samples 24
Detecting objects: 0%| | 0/3 [00:00<?, ?it/s]data/KITTI/object/training/velodyne/000061.bin
data/KITTI/object/training/velodyne/000062.bin
data/KITTI/object/training/velodyne/000063.bin
data/KITTI/object/training/velodyne/000064.bin
data/KITTI/object/training/velodyne/000065.bin
data/KITTI/object/training/velodyne/000066.bin
data/KITTI/object/training/velodyne/000067.bin
data/KITTI/object/training/velodyne/000068.bin
data/KITTI/object/training/velodyne/000069.bin
data/KITTI/object/training/velodyne/000070.bin
data/KITTI/object/training/velodyne/000071.bin
data/KITTI/object/training/velodyne/000072.bin
data/KITTI/object/training/velodyne/000073.bin
data/KITTI/object/training/velodyne/000074.bin
data/KITTI/object/training/velodyne/000075.bin
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:88: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[0, 0] = x - w / 2 * np.cos(yaw) - l / 2 * np.sin(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:93: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[1, 1] = y - w / 2 * np.sin(yaw) - l / 2 * np.cos(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:96: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[2, 0] = x + w / 2 * np.cos(yaw) + l / 2 * np.sin(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:101: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[3, 1] = y + w / 2 * np.sin(yaw) + l / 2 * np.cos(yaw)
data/KITTI/object/training/velodyne/000076.bin
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:89: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[0, 1] = y - w / 2 * np.sin(yaw) + l / 2 * np.cos(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:92: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[1, 0] = x - w / 2 * np.cos(yaw) + l / 2 * np.sin(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:97: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[2, 1] = y + w / 2 * np.sin(yaw) - l / 2 * np.cos(yaw)
/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/kitti_bev_utils.py:100: RuntimeWarning: invalid value encountered in double_scalars
bev_corners[3, 0] = x + w / 2 * np.cos(yaw) - l / 2 * np.sin(yaw)
data/KITTI/object/training/velodyne/000077.bin
data/KITTI/object/training/velodyne/000078.bin
data/KITTI/object/training/velodyne/000079.bin
data/KITTI/object/training/velodyne/000080.bin
data/KITTI/object/training/velodyne/000081.bin
data/KITTI/object/training/velodyne/000082.bin
data/KITTI/object/training/velodyne/000083.bin
data/KITTI/object/training/velodyne/000084.bin
IllegalArgumentException: Points of LinearRing do not form a closed linestring
Detecting objects: 0%| | 0/3 [00:01<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 152, in
batch_size=8,
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/eval_mAP.py", line 42, in evaluate
outputs = non_max_suppression_rotated_bbox(outputs, conf_thres=conf_thres, nms_thres=nms_thres)
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/utils.py", line 297, in non_max_suppression_rotated_bbox
large_overlap = rotated_bbox_iou_polygon(detections[0, :6], detections[:, :6]) > nms_thres
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/utils.py", line 268, in rotated_bbox_iou_polygon
bbox2 = convert_format(np.array(bbox2))
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/utils.py", line 18, in convert_format
polygons = [Polygon([(box[i, 0], box[i, 1]) for i in range(4)]) for box in boxes_array]
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/utils/utils.py", line 18, in
polygons = [Polygon([(box[i, 0], box[i, 1]) for i in range(4)]) for box in boxes_array]
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/yolo2/lib/python3.6/site-packages/shapely/geometry/polygon.py", line 243, in init
ret = geos_polygon_from_py(shell, holes)
File "/home/mohamed/Mohamed/comp2/Complex-YOLOv3/yolo2/lib/python3.6/site-packages/shapely/geometry/polygon.py", line 509, in geos_polygon_from_py
ret = geos_linearring_from_py(shell)
File "shapely/speedups/_speedups.pyx", line 401, in shapely.speedups._speedups.geos_linearring_from_py
ValueError: GEOSGeom_createLinearRing_r returned a NULL pointer

@Ironman1508
Copy link

@MohamedAboushnief @ghimiredhikura hi, I'm new to lidar field. Can you help me out in understanding the ouster lidar output and how it is different from velodyne lidar output. Also the lidar format and if possible can you send me the sample data of Ouster Lidar. And were u able to resolve the issues

@vahidaidrivers
Copy link

Hi
I have face the same error. Is there any advise?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants