上一页 1 2 3 4 5 6 ··· 27 下一页
摘要: gt_img = gt_img / 255. normal_img = normal_img / 255. mean_gray_out = cv2.cvtColor(normal_img.astype(np.float32), cv2.COLOR_BGR2GRAY).mean() mean_gray 阅读全文
posted @ 2024-06-19 15:51 helloWorldhelloWorld 阅读(38) 评论(0) 推荐(0)
摘要: 大佬链接:Restormer: Efficient Transformer for High-Resolution Image Restoration - 知乎 (zhihu.com) 一. Motivation 1.CNN感受野有限,因此无法对长距离像素相关性进行建模;卷积滤波器在推理时具有静态权 阅读全文
posted @ 2024-05-22 09:12 helloWorldhelloWorld 阅读(231) 评论(0) 推荐(0)
摘要: model, preprocess = clip.load("ViT-B/32.pt", device=torch.device("cpu"))AttributeError: module 'clip' has no attribute 'load' 阅读全文
posted @ 2024-05-13 10:27 helloWorldhelloWorld 阅读(19) 评论(0) 推荐(0)
摘要: 一、Motivation 1、单模态监督问题:大多数方法往往只考虑从图像层面监督增强过程,而忽略了图像的详细重建和多模态语义对特征空间的指导作用。这种单模态监督导致不确定区域的次优重建和较差的局部结构,导致视觉结果不理想的出现。 》扩散模型缺乏有效性约束,容易出现多种生成效应 2、简单的引入CLIP 阅读全文
posted @ 2024-05-08 14:06 helloWorldhelloWorld 阅读(1286) 评论(0) 推荐(0)
摘要: 1. word修改某个段落的格式时,整个文档都变了 莫名其妙!修改某个段落的格式时,整个文档都变了 - 知乎 (zhihu.com) 2. 参考文献交叉引用 如何在Word中交叉引用参考文献? - 知乎 (zhihu.com) 3. word中关闭校对(即下面有红色波浪线) word怎么去除文档中显 阅读全文
posted @ 2024-04-23 09:26 helloWorldhelloWorld 阅读(24) 评论(0) 推荐(0)
摘要: import os import numpy as np from PIL import Image import pyiqa import torch # 输入包含图像的文件夹路径pyiqa input_folder = '/media/sdnu/f9cc3556-f530-42b2-95df-6 阅读全文
posted @ 2024-03-27 16:19 helloWorldhelloWorld 阅读(189) 评论(0) 推荐(0)
摘要: import osimport torchimport torchvision.transforms.functional as TFfrom skimage.metrics import peak_signal_noise_ratio as psnrfrom skimage.metrics imp 阅读全文
posted @ 2024-03-20 10:56 helloWorldhelloWorld 阅读(83) 评论(0) 推荐(0)
摘要: from thop import profile import time if __name__ == '__main__': net = LLFormer() net = net.to(torch.device('cuda:0')) input = torch.randn(1, 3, 256, 2 阅读全文
posted @ 2024-03-14 15:24 helloWorldhelloWorld 阅读(13) 评论(0) 推荐(0)
摘要: import os import torch import lpips from PIL import Image from torchvision.transforms import ToTensor # 初始化LPIPS模型 loss_fn = lpips.LPIPS(net='vgg') de 阅读全文
posted @ 2024-03-14 11:43 helloWorldhelloWorld 阅读(334) 评论(0) 推荐(0)
摘要: 一 Motivation 膨胀卷积采用固定的膨胀率会丢失高频信息,使得权重向低频信息移动。 二 Contribution 三 Network 四 Exp 阅读全文
posted @ 2024-03-12 11:04 helloWorldhelloWorld 阅读(182) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 27 下一页