07 2024 档案

摘要:# pred_mean = pred.float().mean() # label_img_mean = label_img.float().mean() # pred_adjust = torch.clamp((pred * (label_img_mean / pred_mean)), 0, 1) 阅读全文
posted @ 2024-07-13 09:30 helloWorldhelloWorld 阅读(11) 评论(0) 推荐(0) 编辑
摘要:running build_ext Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/ 阅读全文
posted @ 2024-07-06 16:42 helloWorldhelloWorld 阅读(10) 评论(0) 推荐(0) 编辑
摘要:pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.7.0/index.html 阅读全文
posted @ 2024-07-06 11:58 helloWorldhelloWorld 阅读(7) 评论(0) 推荐(0) 编辑
摘要:def adjust_tensor_size(tensor): # 获取tensor的大小 size = list(tensor.size()) # 检查最后两个维度是否为奇数 for i in [-1, -2]: if size[i] % 2 != 0: size[i] -= 1 # 使用新的大小 阅读全文
posted @ 2024-07-05 10:48 helloWorldhelloWorld 阅读(41) 评论(0) 推荐(0) 编辑
摘要:[ WARN:0@7.822] global loadsave.cpp:241 findDecoder imread_('/media/sdnu/f9cc3556-f530-42b2-95df-64c823288321/home/sdnu/SXY/Data/LOL-v2-real/test/low/ 阅读全文
posted @ 2024-07-04 20:20 helloWorldhelloWorld 阅读(41) 评论(0) 推荐(0) 编辑
摘要:start_x_lr = np.random.randint(low=0, high=(size_lr_x - size_lr) + 1) if size_lr_x > size_lr else 0 start_x_lr = np.random.randint(low=0, high=(size_l 阅读全文
posted @ 2024-07-03 10:28 helloWorldhelloWorld 阅读(5) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示