提交 520a3a75 编写于 作者: S stephon

remove unused list

上级 eab806a3
...@@ -64,7 +64,7 @@ class DetOp(Op): ...@@ -64,7 +64,7 @@ class DetOp(Op):
im_scale_y, im_scale_x = self.generate_scale(raw_im) im_scale_y, im_scale_x = self.generate_scale(raw_im)
im = self.img_preprocess(raw_im) im = self.img_preprocess(raw_im)
im_shape = np.array(list(im.shape[1:])).reshape(-1) im_shape = np.array(im.shape[1:]).reshape(-1)
scale_factor = np.array([im_scale_y, im_scale_x]).reshape(-1) scale_factor = np.array([im_scale_y, im_scale_x]).reshape(-1)
imgs.append({ imgs.append({
"image": im[np.newaxis, :], "image": im[np.newaxis, :],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册