Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
RunningLeon c73756366e | 1 year ago | |
---|---|---|
.. | ||
csharp | 1 year ago | |
csrc | 1 year ago | |
java | 1 year ago | |
python | 1 year ago | |
resources | 1 year ago | |
tutorials | 2 years ago | |
README.md | 1 year ago | |
demo_rewrite.py | 2 years ago |
We provide a demo showing what our mmdeploy can do for general model deployment.
In demo_rewrite.py
, a resnet18 model from torchvision
is rewritten through mmdeploy tool. In our rewritten model, the forward function of resnet gets modified to only down sample the original input to 4x. Original onnx model of resnet18 and its rewritten are visualized through netron.
Before we run demp_rewrite.py
, we need to install pyppeteer
through:
pip install pyppeteer
The original resnet18 model and its modified one are visualized as follows. The left model is the original resnet18 while the right model is exported after rewritten.
Original resnet18 | Rewritten model |
---|---|
No Description
Python C++ Cuda C C# other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》