-
Notifications
You must be signed in to change notification settings - Fork 141
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
【Hackathon No.166】Paddle3D目标检测结果可视化 #272
base: develop
Are you sure you want to change the base?
Conversation
demo/bev_demo.py
Outdated
raise RuntimeError("Config file `{}` does not exist!".format(args.cfg)) | ||
|
||
cfg = Config(path=args.cfg, batch_size=args.batch_size) | ||
print(args.cfg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print --> logger
demo/bev_demo.py
Outdated
@@ -0,0 +1,97 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add Copyright
demo/bev_demo_deploy.py
Outdated
@@ -0,0 +1,174 @@ | |||
import argparse |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add Copyright
demo/bev_demo_deploy.py
Outdated
import paddle | ||
from paddle.inference import Config, create_predictor | ||
from paddle3d.ops.iou3d_nms_cuda import nms_gpu | ||
from utils import preprocess, Calibration, show_bev_with_boxes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from utils --> from .utils
demo/mono_demo.py
Outdated
raise RuntimeError("Config file `{}` does not exist!".format(args.cfg)) | ||
|
||
cfg = Config(path=args.cfg, batch_size=args.batch_size) | ||
print(args.cfg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print --> logger
demo/utils.py
Outdated
|
||
# =========================== | ||
# ------- 3d to 3d ---------- | ||
# =========================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# ===========================
# ------- 3d to 3d ----------
# ===========================
-->
# 3d to 3d
demo/utils.py
Outdated
|
||
# =========================== | ||
# ------- 3d to 2d ---------- | ||
# =========================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# ===========================
# ------- 3d to 2d ----------
# ===========================
-->
# 3d to 2d
demo/utils.py
Outdated
line_width=line_width, | ||
figure=fig) | ||
# mlab.show(1) | ||
# mlab.view(azimuth=180, elevation=70, focalpoint=[ 12.0909996 , -1.04700089, -2.03249991], distance=62.0, figure=fig) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
del unwanted comments
demo/utils.py
Outdated
''' Show all LiDAR points. | ||
Draw 3d box in LiDAR point cloud (in velo coord system) ''' | ||
|
||
# print(('All point num: ', pc_velo.shape[0])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
del
您好,针对上述问题已进行修改 |
demo/readme.md
Outdated
pip install -r requirements.txt | ||
pip install -e . | ||
pip install vtk==8.1.2 | ||
pip install mayavi==4.7.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vtk和mayavi只能用这个版本吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其他的版本应该也是可以的。我在本地使用的是上面的版本,其他版本没有测试
该PR已经由黑客松发放奖金,需要合入。 |
您好,辛苦解决一下代码冲突,代码需要合入~ |
|
PR types
Others
PR changes
Others
Describe
完成单目图像/鸟瞰图/点云可视化