Install onnxoptimizer
mainYou can install onnxoptimizer directly from PyPI using pip3. If you encounter issues, ensure your pip is upgraded first.
To build from source, you must have protobuf installed on your system. Clone the repository recursively to ensure submodules are included.
```bash
# Install from PyPI
pip3 install onnxoptimizer
# If you have trouble, upgrade pip first
pip3 install -U pip
# Build from source
git clone --recursive https://github.com/onnx/optimizer onnxoptimizer
cd onnxoptimizer
pip3 install -e .
```埋