会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
helloWorld
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
27
下一页
[置顶]
word 问题记录
摘要: 1. word修改某个段落的格式时,整个文档都变了 莫名其妙!修改某个段落的格式时,整个文档都变了 - 知乎 (zhihu.com) 2. 参考文献交叉引用 如何在Word中交叉引用参考文献? - 知乎 (zhihu.com) 3. word中关闭校对(即下面有红色波浪线) word怎么去除文档中显
阅读全文
posted @ 2024-04-23 09:26 helloWorldhelloWorld
阅读(24)
评论(0)
推荐(0)
[置顶]
Bug记录
摘要: 1. 获取GPU model.to('cuda:0') 2. 代码跑起来之后中途卡死:调用到其他显卡 则会卡死 3. 报错:RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED (1)检查是否放在GUP上 (2)batch_size. num
阅读全文
posted @ 2023-03-02 11:17 helloWorldhelloWorld
阅读(517)
评论(0)
推荐(0)
[置顶]
在pycharm中安装虚拟环境以及显卡使用
摘要: 一、安装python版本以及torch 1、安装python解释器 2、安装pytorch (1)查看当前虚拟环境 conda env list (2)进入自己的虚拟环境 source activate SCI(自己的虚拟环境名字) (3)使用阿里云安装pytorch环境 使用阿里源linux py
阅读全文
posted @ 2023-02-20 10:50 helloWorldhelloWorld
阅读(264)
评论(0)
推荐(0)
2024年7月13日
233
摘要: # 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
阅读(17)
评论(0)
推荐(0)
2024年7月6日
11
摘要: 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
阅读(18)
评论(0)
推荐(0)
111
摘要: pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.7.0/index.html
阅读全文
posted @ 2024-07-06 11:58 helloWorldhelloWorld
阅读(16)
评论(0)
推荐(0)
2024年7月5日
ww
摘要: 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
阅读(46)
评论(0)
推荐(0)
2024年7月4日
22
摘要: [ 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
阅读(57)
评论(0)
推荐(0)
2024年7月3日
111
摘要: 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
阅读(7)
评论(0)
推荐(0)
2024年6月28日
3
摘要: conda install pytorch=1.11 torchvision cudatoolkit=10.2 -c pytorch pip install matplotlib scikit-learn scikit-image opencv-python yacs joblib natsort
阅读全文
posted @ 2024-06-28 17:46 helloWorldhelloWorld
阅读(17)
评论(0)
推荐(0)
333
摘要: out = torch.cat((out, out[:, :, :, :padding_cols]), dim=3)
阅读全文
posted @ 2024-06-28 10:57 helloWorldhelloWorld
阅读(11)
评论(0)
推荐(0)
666
摘要: pred_mean = pred.float().mean() label_img_mean = label_img.float().mean() pred_adjust = torch.clamp((pred * (label_img_mean / pred_mean)), 0, 1) per_p
阅读全文
posted @ 2024-06-28 08:30 helloWorldhelloWorld
阅读(16)
评论(0)
推荐(0)
2024年6月19日
1111
摘要: real_input_mean_gray = real_input_img.float().mean() syn_lable_mean_gray = label_img.float().mean() real_img_adjust = torch.clamp((real_input_img * (s
阅读全文
posted @ 2024-06-19 16:07 helloWorldhelloWorld
阅读(10)
评论(0)
推荐(0)
1
2
3
4
5
···
27
下一页
公告