提交 67d5e65c authored 作者: Glenn Jocher's avatar Glenn Jocher

profiling update

上级 2703ac73
......@@ -180,8 +180,8 @@ if __name__ == '__main__':
model.train()
# Profile
img = torch.rand(8 if torch.cuda.is_available() else 1, 3, 640, 640).to(device)
y = model(img, profile=True)
# img = torch.rand(8 if torch.cuda.is_available() else 1, 3, 640, 640).to(device)
# y = model(img, profile=True)
# print([y[0].shape] + [x.shape for x in y[1]])
# ONNX export
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论