Zha0q1 opened a new pull request #19876:
URL: https://github.com/apache/incubator-mxnet/pull/19876


   As we frequently improve our ONNX support, users might want to get timely 
access to the latest changes. However, MXNet releases might not happen as  
frequent as the users would want and they might have other compatibility 
concerns to update the entire mxnet module. To help with this, this pr adds a 
simple tool to update(replace) and restore the `mxnet/contrib/onnx` folder to 
the latest version on github. For example, a user that has mxnet 1.7 installed 
can use this script to get the latest onnx support without updating mxnet to a 
later version. This script helps make our onnx support more accessible and 
users can report bugs back and expect them fixed more easily.
   
   The script will automatically find the currently installed mxnet. The 
original files will be backuped to `mxnet/contrib/onnx/backup`. `--branch` 
option controls which mxnet branch to checkout and if `--restore` option is 
specified then files in `backup` will be restored.
   
   To update to changes in v1.x
   ```
   python update_onnx.py
   ```
   To update to changes in a specific branch
   ```
   python update_onnx.py --branch <branch>
   ```
   To restore the original files
   ```
   python update_onnx.py --restore
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to