Skip to content

Add Upsample example for torch onnx exporting#10550

Closed
houseroad wants to merge 1 commit intopytorch:masterfrom
houseroad:bilinear_upsample
Closed

Add Upsample example for torch onnx exporting#10550
houseroad wants to merge 1 commit intopytorch:masterfrom
houseroad:bilinear_upsample

Conversation

@houseroad
Copy link
Member

No description provided.

@yancz1989
Copy link

code.zip
Hi, I have upload the code and pth file for the model. Using nn.functional, model is described in mobile_net_v2.py, to transfer using command
python pytorch2caffe.py func mobile_func.pth
and using nn.Upsample, model is described in mobile_seq.py and to transfer using command
python pytorch2caffe.py seq mobile_seq.pth

my server has a gpu of nvidia 1080ti, with cuda 9.1, ubuntu 16.04, using python 3.5. If you need any further configuration information, please contact me via yancz1989@gmail.com. Thanks very much for your help information.

@yancz1989
Copy link

also inside the zip file, log of both nn.functional.interpolate and nn.Upsample are uploaded.

@ailzhang ailzhang added the ready for review (this tag is deprecated) All PRs are ready for review unless they are draft, WIP, or have undismissed requested changes label Aug 21, 2018
Copy link
Contributor

@bddppq bddppq left a comment

Choose a reason for hiding this comment

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

LG

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

houseroad has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary: Pull Request resolved: pytorch#10550

Reviewed By: orionr

Differential Revision: D9541932

Pulled By: houseroad

fbshipit-source-id: 4d179d189c176482ae919e5cc74607b9d315ed26
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: onnx Related to torch.onnx ready for review (this tag is deprecated) All PRs are ready for review unless they are draft, WIP, or have undismissed requested changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants