set_image_backend

    paddle.vision.datasets.ImageFolder 和 类中指定用于加载图像的后端。 现在支持后端是 pillow 和 。 如果未设置后端,则默认使用 pil

    代码示例