toy project
pytorch
onxx
gradio
gan
horse2zebra
cycleGAN
A simple project to convert Pytorch model to ONXX model and deploy it with Gradio.
conda create -n horse2zebra python=3.10
pip install torch torchvision gradio numpy onnxruntime-gpu
Note:
cuda' and
cudnn' are required foronnxruntime-gpu
to work with GPU.
Model from Deep Learning with PyTorch
python convert2onxx.py
python app.py