Loading a SavedModel crashes Java
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 928
- 派生
- 227
- PR 合并指标
- 30 天内没有已合并 PR
描述
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
- TensorFlow installed from (source or binary): binary
- TensorFlow version (use command below): 2.3.1
- Python version: 3.8
Describe the current behavior
When I load a SavedModel, the JVM crashes.
Describe the expected behavior
The JVM should not crash.
Code to reproduce the issue
I can load other SavedModels. So, I expect this is something specific to my SavedModel. Since the model is proprietary, I cannot share. And, I don't know how to easily triage the issue. If you can help, please provide some information!
Other info / logs
See hs_err_pid30392.log.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查 hs_err_pid30392.log,以及报告中描述的在 Ubuntu 20.04、TensorFlow 2.3.1 和 Java bindings 下加载 SavedModel 的行为。一项有用的调查需要一个可复现或可共享的模型,然后确定 JVM 崩溃的原因,并验证加载模型不再终止 JVM。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- backend
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100