提交 81e255bf 编写于 作者: D danleifeng

eidt image shape for fp16

上级 cececbbf
......@@ -386,6 +386,8 @@ class Entry(object):
num_trainers = self.num_trainers
image_shape = [int(m) for m in self.image_shape]
if self.data_format == "NHWC":
image_shape=[image_shape[1], image_shape[2], image_shape[0]]
# model definition
model = self.model
if model is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册