摘要: PIL:使用python自带图像处理库读取出来的图片格式 hwc rgb numpy:使用python-opencv库读取出来的图片格式 tensor:pytorch中训练时所采取的向量格式(当然也可以说图片)chw rgb PIL与Tensor相互转换 import torch from PIL 阅读全文
posted @ 2019-12-06 23:35 core! 阅读(4169) 评论(0) 推荐(0)