Skip to content

Conversation

@drcut
Copy link
Contributor

@drcut drcut commented Jul 13, 2020

[1] Add tools/pytorch2onnx.py, which can be used to convert Pytorch model into ONNX
[2] Modify the slide inference part to make it more clear and compatible with ONNX

@xvjiarui xvjiarui self-requested a review July 13, 2020 10:50
@CLAassistant
Copy link

CLAassistant commented Jul 20, 2020

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 20, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@b975d3b). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #12   +/-   ##
=========================================
  Coverage          ?   81.33%           
=========================================
  Files             ?       71           
  Lines             ?     3161           
  Branches          ?      494           
=========================================
  Hits              ?     2571           
  Misses            ?      499           
  Partials          ?       91           
Flag Coverage Δ
#unittests 81.33% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 b975d3b...b7062a5. Read the comment docs.

return module_output


def _demo_mm_inputs(input_shape, num_classes): # yapf: disable
Copy link
Member

Choose a reason for hiding this comment

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

Is # yapf: disable necessary?

@hellock
Copy link
Member

hellock commented Aug 13, 2020

LGTM.

@xvjiarui xvjiarui merged commit 9ba2245 into open-mmlab:master Aug 13, 2020
johnzja pushed a commit to johnzja/mmsegmentation that referenced this pull request Aug 19, 2020
* add pytorch2onnx part

* Update according to the latest mmcv

* add docstring

* update docs

* update docs

Co-authored-by: Jiarui XU <[email protected]>
bowenroom pushed a commit to bowenroom/mmsegmentation that referenced this pull request Feb 25, 2022
* add pytorch2onnx part

* Update according to the latest mmcv

* add docstring

* update docs

* update docs

Co-authored-by: Jiarui XU <[email protected]>
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.

4 participants