Skip to content
Snippets Groups Projects
Commit 951064db authored by 何向东's avatar 何向东
Browse files

取消preprocess

parent 4f726687
No related branches found
No related tags found
No related merge requests found
...@@ -95,7 +95,8 @@ def eval_batch(eval_net, img_lst, crop_size=513, flip=True): ...@@ -95,7 +95,8 @@ def eval_batch(eval_net, img_lst, crop_size=513, flip=True):
resize_hw = [] resize_hw = []
for l in range(batch_size): for l in range(batch_size):
img_ = img_lst[l] img_ = img_lst[l]
img_, resize_h, resize_w = pre_process(img_, crop_size) resize_h, resize_w, _ = img_.shape
# img_, resize_h, resize_w = pre_process(img_, crop_size)
batch_img[l] = img_ batch_img[l] = img_
resize_hw.append([resize_h, resize_w]) resize_hw.append([resize_h, resize_w])
......
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