Comments (3)
@bhaskar-anand-iith Someone seems reported a similiar issue before, it's a bug about COCO eval API, so you may comment these code, as they are not useful nowadays.
from se-ssd.
Even while testing I am getting the same error. Please let me know which part is to be commented, since eval.py has fully coco eval API only.
(ssdenv) bhaskar@bhaskar:/media/bhaskar/Data_Disk/object_detection/SE-SSD/tools$ python test.py
True
Namespace(checkpoint='epoch_58.pth', config='../examples/second/configs/config.py', eval=None, eval_id=None, json_out='json_out.json', launcher='none', local_rank=0, out='out.pkl', show=False, tmpdir=None, txt_result=True, vis_id=None)
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ] 3765/3768, 52.6 task/s, elapsed: 72s, ETA: 0s/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (45) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (54) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (60) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (40) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (50) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (48) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (6) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/core/typed_passes.py:330: NumbaPerformanceWarning:
The keyword argument 'parallel=True' was specified but no transformation for parallel execution was possible.
To find out why, try turning on parallel diagnostics, see https://numba.readthedocs.io/en/stable/user/parallel.html#diagnostics for help.
File "../det3d/datasets/utils/eval.py", line 324:
@numba.jit(nopython=True, parallel=True)
def box3d_overlap_kernel(boxes, qboxes, rinc, criterion=-1, z_axis=1, z_center=1.0):
^
state.func_ir.loc))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (54) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (60) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (45) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (40) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (50) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (48) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numba/cuda/compiler.py:726: NumbaPerformanceWarning: Grid size (6) < 2 * SM count (164) will likely result in GPU under utilization due to low occupancy.
warn(NumbaPerformanceWarning(msg))
Traceback (most recent call last):
File "test.py", line 269, in
main()
File "test.py", line 228, in main
result_dict, detections = test(data_loader, model, save_dir=None, distributed=distributed)
File "test.py", line 49, in test
return dataset.evaluation(predictions, str(save_dir))
File "/media/bhaskar/Data_Disk/object_detection/SE-SSD/det3d/datasets/kitti/kitti.py", line 157, in evaluation
result_coco_dict = get_coco_eval_result(gt_annos, dt_annos, self._class_names, z_axis=z_axis, z_center=z_center)
File "/media/bhaskar/Data_Disk/object_detection/SE-SSD/det3d/datasets/kitti/eval.py", line 739, in get_coco_eval_result
z_center=z_center,
File "/media/bhaskar/Data_Disk/object_detection/SE-SSD/det3d/datasets/kitti/eval.py", line 437, in do_coco_style_eval
min_overlaps[:, i, j] = np.linspace(*overlap_ranges[:, i, j])
File "<array_function internals>", line 6, in linspace
File "/media/bhaskar/Data_Disk/object_detection/ssdenv/lib/python3.7/site-packages/numpy/core/function_base.py", line 120, in linspace
num = operator.index(num)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
from se-ssd.
Solved it..
Follow: #81 (comment)
from se-ssd.
Related Issues (20)
- det3d.visualization.kitti_data_vis.kitti.kitti_object import show_lidar_with_boxes_rect
- How SE SSD Evaluate 3 D Bounding Box IOU ?
- 明明是匹配的都是10.1版本,还显示NO supported GPU capabilities found。
- Error in loading checkpoint while training HOT 3
- About student loss HOT 1
- Density or reflectivity? HOT 1
- About where is "kitti_infos_train.pkl" HOT 1
- Training a teacher network (custom dataset) HOT 1
- The problem about run train.py HOT 1
- how to update ema variables in different models, such as a big model and a small model ; HOT 2
- About the division of KITTI training dataset HOT 3
- question about ssl training HOT 2
- SE-SSD ALL IN TensorRT HOT 2
- RuntimeError: Expected object of backend CUDA but got backend CPU for argument #2 'mat2'
- Install error "relocation R_X86_64_PC32" when "python setup.py build develop"
- SA-DA HOT 3
- Problems in installing spconv! HOT 2
- Could you update the requirements file with version of packages HOT 2
- Sa_ Da_ V2.py file call
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from se-ssd.