ZhangGe6 / onnx-modifier

A tool to modify ONNX models in a visualization fashion, based on Netron and Flask.
MIT License
1.28k stars 157 forks source link

Model Loading through file path #111

Closed abhigoku10 closed 1 month ago

abhigoku10 commented 2 months ago

@ZhangGe6 thansk for sharing the awesome work !! i have few queries

  1. is there any way we can load the model from a file path instead of gui's open file dialog box ?
  2. I tried to modify the source code with other libraries imports the web ui is crashing with giving any error , can you let us knw how to add it so that we can expand the existing code base with other features "const fs = require('fs'); " Thanks in advances
ZhangGe6 commented 2 months ago

@abhigoku10 Loading model from file path is not supported now. Can you share what the motivation/benefit is to do so?

abhigoku10 commented 2 months ago

@ZhangGe6 thansk for the response , we are trying to add a model operations in python part of the existing code base where graph needs to be transfered from python to java module but we end having error at transfering and loading . Is there any option to do this functionality ?

ZhangGe6 commented 2 months ago

@abhigoku10 Transfering data from Python to Java is not supported yet. I am not familiar with this field, so I am afraid I can't provide useful suggestions.