Add BatchNorm support
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 928
- 派生
- 227
- PR 合并指标
- 30 天内没有已合并 PR
描述
System information
- 1.15 and 2.3:
- Are you willing to contribute it (Yes):
Describe the feature and the current behavior/state.
The problem is described in the mailing thread.
I have next problem: trying to repeat one of the modern CNN architectures on Java API. Most of them are using BatchNormalization as a popular layer with tf.nn.batchNormalization() op.
I trying to use old operands like BatchNormWithGlobalNormalization
I've used but got Exception in thread "main" org.tensorflow.exceptions.TFUnimplementedException: Op BatchNormWithGlobalNormalization is not available in GraphDef version 175. It has been removed in version 9. Use tf.nn.batch_normalization().
at org.tensorflow.internal.c_api.AbstractTF_Status.throwExceptionIfNotOK(AbstractTF_Status.java:99)
This was deperecated years ago, but we have it in 1.15 and 2.x APIs.
The possible solutions:
- To implement all required stuff in Java Ops
- Add gradients and contributions in TF Core (gradients and another stuff) if it's possible
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读链接的邮件列表讨论线程,并将 Java API 当前的支持情况与 tf.nn.batchNormalization() 进行比较。该 issue 提议实现所需的 Java Ops,或添加 TensorFlow Core gradients 及相关贡献,因此需要先明确预期的实现路径和完成标准。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- machine-learning
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100