摘要:
1. word修改某个段落的格式时,整个文档都变了 莫名其妙!修改某个段落的格式时,整个文档都变了 - 知乎 (zhihu.com) 2. 参考文献交叉引用 如何在Word中交叉引用参考文献? - 知乎 (zhihu.com) 3. word中关闭校对(即下面有红色波浪线) word怎么去除文档中显 阅读全文
摘要:
1. 获取GPU model.to('cuda:0') 2. 代码跑起来之后中途卡死:调用到其他显卡 则会卡死 3. 报错:RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED (1)检查是否放在GUP上 (2)batch_size. num 阅读全文
摘要:
一、安装python版本以及torch 1、安装python解释器 2、安装pytorch (1)查看当前虚拟环境 conda env list (2)进入自己的虚拟环境 source activate SCI(自己的虚拟环境名字) (3)使用阿里云安装pytorch环境 使用阿里源linux py 阅读全文
摘要:
# pred_mean = pred.float().mean() # label_img_mean = label_img.float().mean() # pred_adjust = torch.clamp((pred * (label_img_mean / pred_mean)), 0, 1) 阅读全文
摘要:
running build_ext Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/ 阅读全文
摘要:
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu111/torch1.7.0/index.html 阅读全文
摘要:
def adjust_tensor_size(tensor): # 获取tensor的大小 size = list(tensor.size()) # 检查最后两个维度是否为奇数 for i in [-1, -2]: if size[i] % 2 != 0: size[i] -= 1 # 使用新的大小 阅读全文
摘要:
[ 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/ 阅读全文
摘要:
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 阅读全文
摘要:
conda install pytorch=1.11 torchvision cudatoolkit=10.2 -c pytorch pip install matplotlib scikit-learn scikit-image opencv-python yacs joblib natsort 阅读全文
摘要:
out = torch.cat((out, out[:, :, :, :padding_cols]), dim=3) 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文