Skip to content

Commit bf83879

Browse files
committed
test save model
1 parent 3ef3c33 commit bf83879

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/data/tensorflow_mnist/mnist_v2.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ def main(args):
198198

199199
if args.current_host == args.hosts[0]:
200200
ckpt_manager.save()
201-
net.save("/opt/ml/model/1", zipped=False)
201+
net.save("/opt/ml/model/1.keras")
202+
print("Saved model at /opt/ml/model/1.keras")
202203

203204

204205
if __name__ == "__main__":

0 commit comments

Comments
 (0)