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

查看img_的shape

parent cba64d42
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,7 @@ def eval_batch(eval_net, img_lst, crop_size=513, flip=True):
# resize_h, resize_w, _ = img_.shape
# hwc to chw
# img_ = img_.transpose((2, 0, 1))
print(img_.shape)
img_, resize_h, resize_w = pre_process(img_, crop_size)
batch_img[l] = img_
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