摘要: import torch from Utils.utils import * def getHighLowFre(image): f = torch.fft.fft2(image) # 计算频率 freqs = torch.fft.fftfreq(image.shape[-1]) # print(f 阅读全文
posted @ 2023-07-29 15:00 helloWorldhelloWorld 阅读(36) 评论(0) 推荐(0)
摘要: import numpy import torch import torch.nn.functional as F from torchvision import models class Vgg19(torch.nn.Module): def __init__(self, requires_gra 阅读全文
posted @ 2023-07-29 14:49 helloWorldhelloWorld 阅读(25) 评论(0) 推荐(0)