TORCHVISION

torchvision软件包包括流行的数据集,模型体系结构和用于计算机视觉的常见图像转换。

Package Reference

torchvision.``get_image_backend()[SOURCE]

Gets the name of the package used to load images

torchvision.``set_image_backend(backend)[SOURCE]

Specifies the package used to load images.

Parameters

backend (string) – Name of the image backend. one of {‘PIL’, ‘accimage’}. The accimage package uses the Intel IPP library. It is generally faster than PIL, but does not support as many operations.


Copyright © ibooker.org.cn 2019 all right reserved,由 ApacheCN 团队提供支持该文件修订时间: 2019-10-08 15:27:42

results matching ""

    No results matching ""

    results matching ""

      No results matching ""