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

查看img_的shape

parent 8e2fcf11
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ def eval_batch_scales(eval_net, img_lst, scales,
sizes_ = [int((base_crop_size - 1) * sc) + 1 for sc in scales]
probs_lst = eval_batch(eval_net, img_lst, crop_size=sizes_[0], flip=flip)
for crop_size_ in sizes_[1:]:
print(img_lst.shape)
probs_lst_tmp = eval_batch(eval_net, img_lst, crop_size=crop_size_, flip=flip)
for pl, _ in enumerate(probs_lst):
probs_lst[pl] += probs_lst_tmp[pl]
......
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