Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create export.py (or something similar) for exporting models from PyTorch -> CoreML #62

Open
7 tasks
mrdbourke opened this issue Jan 31, 2023 · 1 comment

Comments

@mrdbourke
Copy link
Owner

mrdbourke commented Jan 31, 2023

Could have multiple export types as well:

  • PyTorch -> CoreML (for iOS)
  • PyTorch -> ONNX Web Runtime (for web)

More:

@mrdbourke
Copy link
Owner Author

See this notebook for an example conversion: https://github.com/mrdbourke/nutrify/blob/main/foodvision/notebooks/06_export_model.ipynb

Note: Prediction/evaluation can only take place on macOS with CoreML, should setup some code to make a prediction over ~100 images with CoreML & PyTorch for a sanity check on how the model is performing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant