-
Notifications
You must be signed in to change notification settings - Fork 89
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
add per node data fails for multi model when using API #103
Comments
Hi @tsantosh1098, your code looks correct, can you provide your example models and .json node data (Or at least show screenshots of what is happening/showing)? That will help us reproduce this issue. It looks like both model paths and the node data are managed via lists, and I would expect them to map to each other in order: https://github.com/google-ai-edge/model-explorer/blob/main/src/server/package/src/model_explorer/config.py#L39 |
Hi @pkgoogle , Thanks for the response. Here is the updated code,
here are the model and json files - https://drive.google.com/drive/folders/1LpfgTTV7wdqgh4_nKlEkDdM9V3QzK_yj?usp=sharing |
Example URL for this case:
The nodeData either needs to be mapped by index or we need to create a nested nodeData structure that is associated for each model. Seems like this will most likely require changes to both backend and frontend. Hi @jinjingforever, can you please take a look thanks. |
@pkgoogle Thanks for the taking out time and investigating the issue. Meanwhile, I modified the backend to create similar Url. But I was not able to get any content from the frontend. As you mentioned in your above message, we might need some changes in the frontend side to visualize the model in a new URL. Thanks |
Yeah that URL is customized from my environment and is not URL encoded, to replicate you will need to follow the original instructions above. |
Thanks for the report! It is indeed an issue that all the node data added from |
Great, Thanks @jinjingforever @pkgoogle |
Hi,
I am trying to run the script that will load 2 models and add the additional layer info to both the models using Model explorer APIs.
Here is my code,
The Model explorer is adding the additionaly per node data to the first model in the list of models that model explorer take. Even though I provide the json for second model its not considered.
Do you thing something is wrong in the above code ?
The text was updated successfully, but these errors were encountered: