Open CDahmsSpireon opened 3 years ago
I get the same error above. I run on Dockfile :
FROM tensorflow/tensorflow:2.6.1-gpu
RUN pip install cmake sklearn opencv-python tensorflow_probability
Does everyone have ressolve it? Thank!
Not too sure if the following is what the author means, but here is what I did:
select
from the import -> from point_pillars import createPillars, createPillarsTarget
.processors.py
as from processors import select_best_anchors
target = select_best_anchors(target)
.Basically:
# from point_pillars import createPillars, createPillarsTarget, select
from point_pillars import createPillars, createPillarsTarget
from processors import select_best_anchors
...
# target = select(target, selected)
target = select_best_anchors(target)
Referring to:
https://github.com/tyagi-iiitv/PointPillars/blob/master/point_pillars_test.py#L5
from point_pillars import createPillars, createPillarsTarget, select
If I go to:
https://github.com/tyagi-iiitv/PointPillars/blob/master/src/point_pillars.cpp
I can clearly see where
createPillars
andcreatePillarsTarget
are defined, but I don't see whereselect
is defined? Not surprisingly, when runningpoint_pillars_test.py
I'm getting an error indicatingselect
does not exist:Has anybody gotten
point_pillars_test.py
to run without error? I gather I should modify https://github.com/tyagi-iiitv/PointPillars/blob/master/point_pillars_test.py#L65 to removeselect
but I'm not sure how. Additionally I find the nameselect
inherently confusing due to being the same as the inbuilt Python select library.