Skip to content
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

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

lizechng
Copy link

PR types

Others

PR changes

Others

Describe

完成单目图像/鸟瞰图/点云可视化
bev
pc

output

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)
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Copyright

@@ -0,0 +1,174 @@
import argparse
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add Copyright

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from utils --> from .utils

raise RuntimeError("Config file `{}` does not exist!".format(args.cfg))

cfg = Config(path=args.cfg, batch_size=args.batch_size)
print(args.cfg)
Copy link
Collaborator

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 ----------
# ===========================
Copy link
Collaborator

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 ----------
# ===========================
Copy link
Collaborator

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)
Copy link
Collaborator

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]))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

del

@lizechng
Copy link
Author

您好,针对上述问题已进行修改

demo/readme.md Outdated
pip install -r requirements.txt
pip install -e .
pip install vtk==8.1.2
pip install mayavi==4.7.4
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vtk和mayavi只能用这个版本吗

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其他的版本应该也是可以的。我在本地使用的是上面的版本,其他版本没有测试

@shiyutang
Copy link
Collaborator

该PR已经由黑客松发放奖金,需要合入。

@wangna11BD
Copy link
Collaborator

您好,针对上述问题已进行修改

您好,辛苦解决一下代码冲突,代码需要合入~

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External Developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants