摘要:
Histogram equalization and specialization from PIL import Image import os class Img: def __init__(self, image): self.img = image def getPr(self): # 获取 阅读全文
摘要:
a=torch.rand(32,1) a.expend(imgs.size()) >>>RuntimeError: The expanded size of the tensor (256) must match the existing size (32) at non-singleton dim 阅读全文
摘要:
nn.MSELoss()得到的是平均到像素的loss nn.MSELoss(size_average=False)得到整个batch所有像素loss和 MSELoss(size_average=False).div(batch_size)得到平均图像loss a=torch.Tensor([[1,1 阅读全文
摘要:
1. su 进入root权限 2. 更改目录的修改权限至所有人 chmod 777 -R /home/cike 参考: https://blog.csdn.net/zsg88/article/details/74937871?depth_1-utm_source=distribute.pc_rele 阅读全文
摘要:
https://www.cnblogs.com/wanghui-garcia/p/10895397.html 阅读全文
摘要:
阅读全文
摘要:
ANTsPy主页:https://github.com/ANTsX/ANTsPy ANTsPy官方文档:https://antspyx.readthedocs.io/_/downloads/en/latest/pdf/ 配准ants.registration() import os import a 阅读全文