提交 ca6e8dc2 编写于 作者: M MRXLT

fix unet demo

上级 ddd533e2
......@@ -27,7 +27,8 @@ preprocess = Sequential(
postprocess = SegPostprocess(2)
im = preprocess("N0060.jpg")
filename = "N0060.jpg"
im = preprocess(filename)
fetch_map = client.predict(feed={"image": im}, fetch=["output"])
fetch_map["filename"] = filename
postprocess(fetch_map)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册