Support path or filename which inclued chinese character.
Created by: xmaj2008
paddleX or Gui ,doesn't support path or filename which inclued chinese character. According to the lint given by the error info, I just changed the file https://github.com/PaddlePaddle/PaddleX/blob/7acf4f36eabef8d892a63b4e0ac86562df68a30f/paddlex/cv/transforms/det_transforms.py#L112 to use the fuction following
def read_image_bgr(path):
image = np.asarray(Image.open(path).convert('RGB'))
return image[:, :, ::-1].copy()
i don't know whether this works ok or not. Suposing to fix it, especially the GUI used pyd.