提交 d99a38ad authored 作者: blu's avatar blu

init

上级 eb8bc03e
...@@ -38,6 +38,10 @@ def test(opt): ...@@ -38,6 +38,10 @@ def test(opt):
else: else:
break break
frameCnt += 1 frameCnt += 1
if frameCnt % (18*3) == 0:
pass
else:
continue
height, width = image.shape[:2] height, width = image.shape[:2]
image = image.astype(np.float32) / 255 image = image.astype(np.float32) / 255
image[:, :, 0] = (image[:, :, 0] - 0.485) / 0.229 image[:, :, 0] = (image[:, :, 0] - 0.485) / 0.229
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论