Skip to content
Snippets Groups Projects
Commit 33435fcd authored by hexiangdong2019's avatar hexiangdong2019
Browse files

修改eval_batch函数

parent 179289ad
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,7 @@ def eval_batch(eval_net, img_lst, crop_size=513, flip=True):
batch_img = np.zeros((4, 3, crop_size, crop_size), dtype=np.float32)
resize_hw = []
for l in range(batch_size):
print(img_lst)
img_ = img_lst[l]
print(img_)
img_, resize_h, resize_w = pre_process(img_, crop_size)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment