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

NNModel with TorchNet/TFNet cannot be saved #1010

Open
hhbyyh opened this issue Aug 21, 2019 · 3 comments
Open

NNModel with TorchNet/TFNet cannot be saved #1010

hhbyyh opened this issue Aug 21, 2019 · 3 comments

Comments

@hhbyyh
Copy link

hhbyyh commented Aug 21, 2019

NNFrames invoke saveModule, which is a final function defined in AbstractModule and the default implementation cannot be used since it does not support ModelHolder.

@hhbyyh
Copy link
Author

hhbyyh commented Aug 21, 2019

And we are not providing useful error information now.

@hkvision
Copy link
Contributor

Now have we got a solution how to save a trained TorchNet?

@hkvision hkvision reopened this Sep 11, 2019
@hhbyyh
Copy link
Author

hhbyyh commented Sep 11, 2019

We can support saving as torch script model. Pending review in https://github.com/intel-analytics/analytics-zoo/pull/1564

@liu-shaojun liu-shaojun transferred this issue from intel/BigDL Mar 5, 2024
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

2 participants