会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
helloWorld
博客园
首页
新随笔
联系
管理
订阅
2023年3月13日
直接将tensor保存为图片
摘要: 1、 ./test.jpg地址为保存图片的地址,可以写自己工程中的地址 #save image vutils.save_image(pred,'data/sun/ref1.jpg',normalize = True) vutils.save_image(targets, 'data/sun/targ
阅读全文
posted @ 2023-03-13 16:23 helloWorldhelloWorld
阅读(247)
评论(0)
推荐(0)
公告