Open tjtanaa opened 4 years ago
Hi @tjtanaa, it would be great if you could contribute to this repo directly. Since I'm not actively contributing to this project now, that'll help in continued development and improvement. Thanks for your consideration.
Hi @tjtanaa, I am trying to deploy your solution because it is more accurate with the dimensions use in the paper but I am having trouble to understand where do you get the det3d library, I guess is a different solution equivalent for the datareader, but could you please send me the library so I can deploy it?
Hi @Mfertega please clone and install the following repository https://github.com/tjtanaa/det3d.git . Let me know if you have any problem setting up the package
Hello @tjtanaa, Your repo does not compile.
CMake Error at pybind11/tools/pybind11Tools.cmake:151 (add_library):
Cannot find source file:
src/point_pillars_v2.cpp
Please allow issues to be opened on your repo. Thanks!
Hello @tjtanaa, Your repo does not compile.
CMake Error at pybind11/tools/pybind11Tools.cmake:151 (add_library): Cannot find source file: src/point_pillars_v2.cpp
Please allow issues to be opened on your repo. Thanks!
Hi @ma7555 for now you could comment out the
pybind11_add_module(point_pillars_v2 SHARED src/point_pillars_v2.cpp)
from the CMakeLists.txt
. The should solve your compilation problem.
@tjtanaa Hi sir how to feed the data to visualise tht output bounding box
Hi, I have found some bugs in the implementations that you have. The corrected version of code could be found in my forked repository https://github.com/tjtanaa/PointPillars.git#5824e2d0c71f3d023d2cfa793fa4cced187cfafb.
In the
processors.py
Note: if you want to get the correct z-center coordinate of the bounding box, you have add an offset. In lidar frame:
In
/src/point_pillars.cpp
/src/point_pillars_v2.cpp
at commit https://github.com/tjtanaa/PointPillars.git#5824e2d0c71f3d023d2cfa793fa4cced187cfafbPlease refer to files from the official repository (particularly:
second/core/box_np_ops.py
andsecond/pytorch/models/voxelnet.py
)In
second/core/box_np_ops.py
, functionssecond_box_decode
andsecond_box_encode
. Insecond/pytorch/models/voxelnet.py
, functionsadd_sin_difference
.Thus, when preparing the targets in the function
createPillarsTarget
, the angle target should beBased on the formula for angle loss in SECOND, the sine function is applied to
_If you adopted the above changes the
bb_yaw
in theinference_utils.py
should bebb_yaw = ang[value] + real_anchors[i][4]
instead._ For reference, please refer toinference_utils_v2.py
in my forked repository.