摘要:
%load_ext tensorboard %tensorboard --logdir='runs' 阅读全文
摘要:
一般来说PyTorch有两种保存和读取模型参数的方法。但这篇文章我记录了一种最佳实践,可以在加载模型时避免掉一些问题。 第一种方案是保存整个模型: 1 torch.save(model_object, 'model.pth') 第二种方法是保存模型网络参数: 1 torch.save(model_o 阅读全文
摘要:
import torch.nn as nn m = nn.Softmax(dim=0) input = torch.randn(2, 2, 3) print(input) print(m(input)) input: tensor([[[ 0.5450, -0.6264, 1.0446], [ 0. 阅读全文
摘要:
根据自己的实验需求选择,先下载whl文件,再pip install。(直接pip 下载速度实在是太慢了。。。) 1. pytorch-gpu安装https://download.pytorch.org/whl/cu90/torch_stable.html我选择的是:torch-1.0.0-cp36- 阅读全文
摘要:
解决方法:更新pillow pillow是python中的一个图像处理库,是anaconda中自带的。但可能因为pillow的版本较老,所以需要更新一下。 conda uninstall pillow conda update pip pip install pillow 不知道为何这个包跟tens 阅读全文
摘要:
AAAI2019的论文 链接:https://arxiv.org/pdf/1901.08211.pdf 本文提出了一种协同多模态的无监督领域自适应框架,也称为协同图像和特征自适应(SIFA)。以有效解决医学图像域迁移的问题。 传统无监督自适应框架通过两种方式进行迁移学习: 在图像级别将源域图像转化到 阅读全文
摘要:
谷歌浏览器 F12, 控制台插入此代码,回车即可。 function getElementByXpath(path) { return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null) 阅读全文
摘要:
References for task 3: Reference Schedule CFEA: Collaborative Feature Ensembling Adaptation for Domain Adaptation in Unsupervised Optic Disc and Cup S 阅读全文
摘要:
序号 时间(年) 说明 链接 1 AUC 0.9814 rotation-augmentation 2 2018 亮点:非线性跳跃连接 BCDU-Net 3 2019 医学图像数据扩增 Augmentor 4 AUC 0.9790 retina-unet 5 2019 增加了角膜神经分割数据 CSN 阅读全文
摘要:
class Net(nn.Module): def __init__(self , model): super(Net, self).__init__() #取掉model的后两层 self.resnet_layer = nn.Sequential(*list(model.children())[: 阅读全文