PyTorch implementation of HighResNet
Project description
HighRes3DNet
PyTorch implementation of HighRes3DNet from Li et al. 2017, On the Compactness, Efficiency, and Representation of 3D Convolutional Networks: Brain Parcellation as a Pretext Task.
A 2D version (HighRes2DNet
) is also available.
Installation
PyTorch Hub
If you are using the nightly version of PyTorch, you can import the model directly from this repository using PyTorch Hub.
>>> import torch
>>> 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
>>> from highresnet import HighRes3DNet
>>> model = HighRes3DNet(in_channels=1, out_channels=160)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
highresnet-0.3.4.tar.gz
(8.9 kB
view details)
File details
Details for the file highresnet-0.3.4.tar.gz
.
File metadata
- Download URL: highresnet-0.3.4.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e3cfc1fc9ebb75a496e036e2e6f7ec7e07dfb618eb7cecc2b2534f024d6899c |
|
MD5 | 6ae6fb66744fe39ee61bdc087f07c12b |
|
BLAKE2b-256 | 3c4a8be409133a6523f3fe83d9dbc3f838bc6786ae6863bbad049af4febf7f16 |