【PyTorch1.0】torchvision文档翻译(一)——torchvision Reference

原文:https://pytorch.org/docs/stable/torchvision/index.html

torchvision 包收录了若干重要的公开数据集、网络模型和计算机视觉中的常用图像变换

包参考

torchvision.get_image_backend()

查看载入图片的包的名称

torchvision.set_image_backend(backend)

指定用于载入图片的包

  • 参数:backendstring)– 图片处理后端的名称,须为PIL, accimage中的一个。accimage包使用了英特尔IPP库。这个库通常比PIL快,但是支持的操作比PIL要少。

猜你喜欢

转载自blog.csdn.net/tfcy694/article/details/87884787