Skip to content

support export hardsigmoid in torch<=1.8#169

Merged
RunningLeon merged 2 commits intoopen-mmlab:masterfrom
grimoire:support-hardsigmoid
Feb 24, 2022
Merged

support export hardsigmoid in torch<=1.8#169
RunningLeon merged 2 commits intoopen-mmlab:masterfrom
grimoire:support-hardsigmoid

Conversation

@grimoire
Copy link
Copy Markdown
Member

Hardsigmoid export is not supported before torch1.9. This PR adds such support for torch<=1.8.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 18, 2022

Codecov Report

Merging #169 (f3db38f) into master (59470fe) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #169      +/-   ##
==========================================
+ Coverage   66.79%   66.81%   +0.02%     
==========================================
  Files         188      189       +1     
  Lines        6191     6195       +4     
  Branches      957      957              
==========================================
+ Hits         4135     4139       +4     
  Misses       1765     1765              
  Partials      291      291              
Flag Coverage Δ
unittests 66.81% <100.00%> (+0.02%) ⬆️

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

Impacted Files Coverage Δ
mmdeploy/pytorch/ops/__init__.py 100.00% <100.00%> (ø)
mmdeploy/pytorch/ops/hardsigmoid.py 100.00% <100.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 59470fe...f3db38f. Read the comment docs.

@RunningLeon RunningLeon added the enhancement New feature or request label Feb 23, 2022
Copy link
Copy Markdown
Collaborator

@hanrui1sensetime hanrui1sensetime left a comment

Choose a reason for hiding this comment

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

LGTM.

@RunningLeon RunningLeon merged commit e9ee21f into open-mmlab:master Feb 24, 2022
hanrui1sensetime pushed a commit to hanrui1sensetime/mmdeploy that referenced this pull request Nov 25, 2022
hanrui1sensetime pushed a commit to hanrui1sensetime/mmdeploy that referenced this pull request Nov 25, 2022
* add yolov5 voc training

* format code

* [Feature] Support YOLOv7 inference (open-mmlab#149)

* update

* update

* update

* update

* update

* add docstr

* fix comments

* update

* add video of featmap vis demo (open-mmlab#169)

* [Enhance] YOLOv6 model convert (open-mmlab#165)

* add yolov5 voc training

* fix bug

* fix bug

* fix yolov6 model convert

* update yolov5 modelconvert

* rollback yolov5 model convert

* [Feature] Support VOC Dataset in YOLOv5 (open-mmlab#134)

* add yolov5 voc training

* fix mosaic bug

* fix mosaic bug and temp config

* fix mosaic bug

* update config

* support training on voc dataset

* format code

* format code

* Optimize Code. Change `RandomTransform` to `OneOf`

* Change `OneOf` to `mmcv.RandomChoice`

* fix yolov5coco dataset

* fix yolov5coco dataset

* fix bug, format code

* format config

* format code

* add yolov5 voc training

* rebase

* fix mosaic bug

* update config

* support training on voc dataset

* format code

* format code

* Optimize Code. Change `RandomTransform` to `OneOf`

* Change `OneOf` to `mmcv.RandomChoice`

* fix yolov5coco dataset

* fix yolov5coco dataset

* fix bug, format code

* format code

* add yolov5 voc training

* fix mosaic bug and temp config

* fix mosaic bug

* update config

* support training on voc dataset

* format code

* format code

* Optimize Code. Change `RandomTransform` to `OneOf`

* Change `OneOf` to `mmcv.RandomChoice`

* fix yolov5coco dataset

* fix yolov5coco dataset

* fix bug, format code

* format code

* add yolov5 voc training

* rebase

* fix mosaic bug

* update config

* support training on voc dataset

* format code

* format code

* Optimize Code. Change `RandomTransform` to `OneOf`

* Change `OneOf` to `mmcv.RandomChoice`

* fix yolov5coco dataset

* fix yolov5coco dataset

* fix bug, format code

* format code

* format code

* fix lint

* add unittest

* add auto loss_weight

* add doc; add model log url

* add doc; add model log url

* add doc; add model log url

* add neck vis docstr

* add neck vis docstr

* add backbone model structure diagram

* fix readthedocs.txt

* fix doc vis

* fix vis

* fix vis

* fix vis

* fix vis

Co-authored-by: Haian Huang(深度眸) <huanghaian@pjlab.org.cn>
ewernn pushed a commit to ewernn/mmdeploy that referenced this pull request Nov 17, 2025
…en-mmlab#169)

* add ppl install doc and how to test a model doc

* remove mmdet model list in ppl.md

* resolve comments

* fix typo

* add mmocr doc

* mv configs as the final column

* fix typo and align tables

* fix lint
ewernn pushed a commit to ewernn/mmdeploy that referenced this pull request Nov 17, 2025
* support export hardsigmoid in torch<=1.8

* fix lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants