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

Fix miss text #278

Merged
merged 7 commits into from
Jan 23, 2021
Merged

Fix miss text #278

merged 7 commits into from
Jan 23, 2021

Conversation

xiliu8006
Copy link
Contributor

Fix a bug, Miss text file when generating test file which will be submitted to test server! #123

@codecov
Copy link

codecov bot commented Jan 19, 2021

Codecov Report

Merging #278 (aa695b4) into master (cda3e0e) will increase coverage by 0.20%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #278      +/-   ##
==========================================
+ Coverage   49.89%   50.09%   +0.20%     
==========================================
  Files         172      172              
  Lines       11571    11572       +1     
  Branches     1802     1802              
==========================================
+ Hits         5773     5797      +24     
+ Misses       5424     5409      -15     
+ Partials      374      366       -8     
Flag Coverage Δ
unittests 50.09% <100.00%> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmdet3d/datasets/kitti_dataset.py 76.04% <100.00%> (+5.81%) ⬆️
mmdet3d/ops/voxel/voxelize.py 86.00% <0.00%> (+16.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cda3e0e...d9dc543. Read the comment docs.

classes = ['Pedestrian', 'Cyclist', 'Car']
pts_prefix = 'velodyne_reduced'
pipeline = [{
'type': 'LoadPointsFromFile',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use dict() to make this part simpler and following the convention?

pts_prefix,
pipeline,
classes,
modality,
Copy link
Collaborator

Choose a reason for hiding this comment

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

clean comma.

result = dict(boxes_3d=boxes_3d, labels_3d=labels_3d, scores_3d=scores_3d)
results = [result]
temp_kitti_result_dir = tempfile.mkdtemp()
print(temp_kitti_result_dir)
Copy link
Collaborator

Choose a reason for hiding this comment

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

unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am sorry to forget to delete the debug code

Copy link
Collaborator

Choose a reason for hiding this comment

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

ping

classes,
modality,
)
boxes_3d = LiDARInstance3DBoxes(
Copy link
Collaborator

Choose a reason for hiding this comment

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

May also test empty boxes to verify the bug is fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The empty boxes test code at line 387

}]
}]
modality = {'use_lidar': True, 'use_camera': False}
pipeline = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems that similar pipeline are generated and used multiple times. Can we implement a new function to generate it and reduce code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For sure

@ZwwWayne ZwwWayne merged commit 87b05ba into open-mmlab:master Jan 23, 2021
tpoisonooo pushed a commit to tpoisonooo/mmdetection3d that referenced this pull request Sep 5, 2022
* compatible trt version for dbnet

* judge inside rewrite
tpoisonooo pushed a commit to tpoisonooo/mmdetection3d that referenced this pull request Sep 5, 2022
* suppress CMAKE_CUDA_ARCHITECTURES warning

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

Successfully merging this pull request may close these issues.

2 participants