highresnet的pytorch实现

highresnet的Python项目详细描述


highres3dnet

License: MITPyPI version

pytorch从Li et al., 2017, On the Compactness, Efficiency, and Representation of 3D Convolutional Networks: Brain Parcellation as a Pretext Task实现highres3dnet。

二维版本(HighRes2DNet)也可用。

安装

PyTorch Hub

如果您使用的是夜间版本的pytorch,则可以导入模型 使用PyTorch Hub直接从这个存储库。

>>>importtorch>>>repo='fepegar/highresnet'>>>model_name='highres3dnet'>>>print(torch.hub.help(repo,model_name))"HighRes3DNet by Li et al. 2017 for T1-MRI brain parcellation""pretrained (bool): load parameters from pretrained model">>>model=torch.hub.load(repo,model_name,pretrained=True)

PyPI

$ pip install highresnet
>>>fromhighresnetimportHighRes3DNet>>>model=HighRes3DNet(in_channels=1,out_channels=160)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在导航抽屉中显示图像   DDD中的java聚合对象   java如何在登录后隐藏主活动上的项目?   java如何知道MouseWheelListener是否可以接收事件?   java地图中未显示新标记   Z3Java绑定是否具有与python相同的get_vars()API?   java重置或清除Lucene索引   Java骑士之旅代码   集合Java类树集合中的Java方法headSet和tailSet在日志(N)时间内工作吗?   java从SpringWeb服务获取Jetty实例   java需要在jira中将jsp文件更改为vm文件   创建对象时发生java IllegalMonitorStateException   java SnakeYaml从字符串第一行转储   使用java在文件中逐个使用for循环写入行