onnx / onnx-tensorflow

Tensorflow Backend for ONNX
Other
1.26k stars 298 forks source link

Add backend.prepare Handle Large Models #1074

Open woojh3690 opened 3 months ago

woojh3690 commented 3 months ago

962 Introduce the capability to load large ONNX model files (>2GB) by accepting file paths directly. This update checks if the 'model' parameter is a string or path-like object and uses the 'load' function to handle the file appropriately.