Skip to content

GetModelNodes not compatible with multi-file saved models #2102

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

Closed
JakeRadMSFT opened this issue Jan 10, 2019 · 2 comments
Closed

GetModelNodes not compatible with multi-file saved models #2102

JakeRadMSFT opened this issue Jan 10, 2019 · 2 comments
Assignees
Labels
API Issues pertaining the friendly API bug Something isn't working

Comments

@JakeRadMSFT
Copy link
Contributor

System information

  • OS version/distro: Windows
  • .NET Version (eg., dotnet --info): ML.Net 0.8.0

Issue

  • What did you do?
    Tried to call GetModelNodes on a Tensor Flow model that was successfully able to be loaded using ScoreTensorFlowModel.
  • What happened?
    Received Exception: Access Denied Error
  • What did you expect?
    Successfully load model and enumerate model nodes.

Source code / logs

I believe it's because it's trying to load my folder path as a file:

var bytes = File.ReadAllBytes(modelFile);

@JakeRadMSFT
Copy link
Contributor Author

@yaeldekel

@Ivanidzo4ka
Copy link
Contributor

Ivanidzo4ka commented Jan 10, 2019

So I think it tensor flow terminology it's called unfrozen model, and you are absolutely right, GetModelNodes was written before we start support it, and it hasn't been updated.

@Ivanidzo4ka Ivanidzo4ka added bug Something isn't working API Issues pertaining the friendly API labels Jan 10, 2019
@Ivanidzo4ka Ivanidzo4ka self-assigned this Jan 10, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API Issues pertaining the friendly API bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants