Coder Social home page Coder Social logo

Error in training about se-ssd HOT 3 CLOSED

bhaskar-anand-iith avatar bhaskar-anand-iith commented on July 29, 2024
Error in training

from se-ssd.

Comments (3)

Vegeta2020 avatar Vegeta2020 commented on July 29, 2024

@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.

bhaskar-anand-iith avatar bhaskar-anand-iith commented on July 29, 2024

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.

bhaskar-anand-iith avatar bhaskar-anand-iith commented on July 29, 2024

Solved it..

Follow: #81 (comment)

from se-ssd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.