摘要: 特征图之Mask输出 Tensor和图片相互转换 为什么要转换呢?当是查看转换效果,毕竟人是感官动物。 Tensor==>Image :利用transforms.ToPILImage() Image ==>Tensor:利用transforms.ToTensor() import torch fro 阅读全文
posted @ 2024-03-29 16:09 AlexanderOscar 阅读(2) 评论(0) 推荐(0) 编辑