python數據加強

裁剪python h, w = image[0].shape[:2] #h=384,w=512 h_max, w_max = self.opts['crop_preproc']#h_max=256,w_max=448須要裁剪的尺寸 max_y_offset, max_x_offset = h - h_max, w - w_max##max_y_offset=128,max_x_offset=64
相關文章
相關標籤/搜索