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

Develop v1.0.0 alpha #357

Merged
merged 10 commits into from
Dec 25, 2021
Merged

Develop v1.0.0 alpha #357

merged 10 commits into from
Dec 25, 2021

Conversation

RangiLyu
Copy link
Owner

@RangiLyu RangiLyu commented Dec 16, 2021

NanoDet-Plus

Architecture

image

ncnn benchmark

Model Resolution mAPval
0.5:0.95
CPU Latency
(i7-8700)
ARM Latency
(4*A76)
Vulkan GPU Latency
(GTX1060)
NanoDet-Plus-m 320*320 27.0 10.32ms / 96.9FPS 11.97ms / 3.40ms / 294.1FPS
NanoDet-Plus-m 416*416 30.4 17.98ms / 55.6FPS 19.77ms / 4.27ms / 234.2FPS
NanoDet-Plus-m-1.5x 320*320 29.9 12.87ms / 77.7FPS 15.90ms / 3.78ms / 264.6FPS
NanoDet-Plus-m-1.5x 416*416 34.1 22.53ms / 44.4FPS 25.49ms / 4.79ms / 208.8FPS
PPPicoDet-ShuffleNetV2-1x 416*416 30.0 19.40ms /
YOLOX-Nano 416*416 25.8 23.08ms /
YOLOv5-n 640*640 28.4 44.39ms /

OpenVINO benchmark

Model Resolution mAPval
0.5:0.95
CPU Latency (i7-8700)
NanoDet-Plus-m 320*320 27.0 5.25ms / 190FPS
NanoDet-Plus-m 416*416 30.4 8.32ms / 120FPS
NanoDet-Plus-m-1.5x 320*320 29.9 7.21ms / 139FPS
NanoDet-Plus-m-1.5x 416*416 34.1 11.50ms / 87FPS

* [Feature]: Support EMA

* add doc

* add test
* [Refactor] remove deprecated api

* update readme
@RangiLyu RangiLyu added enhancement New feature or request refactoring WIP Working in progress. labels Dec 16, 2021
@codecov
Copy link

codecov bot commented Dec 16, 2021

Codecov Report

Merging #357 (d91255b) into main (c931de5) will decrease coverage by 0.31%.
The diff coverage is 72.99%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
- Coverage   74.32%   74.00%   -0.32%     
==========================================
  Files          63       66       +3     
  Lines        4136     4424     +288     
  Branches      658      752      +94     
==========================================
+ Hits         3074     3274     +200     
- Misses        865      970     +105     
+ Partials      197      180      -17     
Flag Coverage Δ
unittests 74.00% <72.99%> (-0.32%) ⬇️

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

Impacted Files Coverage Δ
nanodet/util/check_point.py 17.85% <13.33%> (-9.42%) ⬇️
nanodet/trainer/task.py 53.59% <29.78%> (-8.56%) ⬇️
nanodet/model/weight_averager/__init__.py 37.50% <37.50%> (ø)
nanodet/model/head/nanodet_head.py 75.64% <47.22%> (-19.36%) ⬇️
nanodet/model/arch/nanodet_plus.py 47.82% <47.82%> (ø)
nanodet/util/logger.py 63.70% <50.00%> (-26.46%) ⬇️
nanodet/model/arch/one_stage_detector.py 60.00% <66.66%> (+0.54%) ⬆️
nanodet/model/fpn/__init__.py 76.47% <66.66%> (+5.04%) ⬆️
nanodet/model/head/nanodet_plus_head.py 72.76% <72.76%> (ø)
nanodet/model/arch/__init__.py 68.75% <75.00%> (+18.75%) ⬆️
... and 18 more

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 c931de5...d91255b. Read the comment docs.

* [Feature] Add NanoDet-Plus head.

* fix param

* fix log

* fix load

* refactor head output

* fix load weight and logger

* fix unit test and reuse code

* fix num_cls

* add unit test
* [Refactor] Refactor onnx export and all demo post process.

* ncnn demo

* onnx output tmp

* refactor ncnn cpp demo

* refactor cpp demo

* support concat output and onnxsim

* refactor mnn demo

* add multi-backend demo

* add multi-backend demo

* refactor android demo

* fix detach
* [Feature] Add nanodet-plus and support grad clip.

* fix forward

* add cfg

* refactor

* unit test
* [Refactor] Refactor demo

* add openvino benchmark

* update readme

* add ncnn benchmark
@RangiLyu RangiLyu changed the title [WIP] Release v1.0.0 alpha Develop v1.0.0 alpha Dec 24, 2021
@RangiLyu RangiLyu removed the WIP Working in progress. label Dec 24, 2021
* update readme

* refactor config

* fix unit tests

* fix unit tests

* fix unit tests

* fix unit tests

* fix unit tests
@RangiLyu RangiLyu merged commit dcc7e79 into main Dec 25, 2021
@RangiLyu RangiLyu deleted the v1.0.0-alpha branch December 25, 2021 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants