Skip to main content

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"
    
>>> model = torch.hub.load(repo, model_name, in_channels=1, out_channels=160)

pip

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

Project details


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.1.4.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file highresnet-0.1.4.tar.gz.

File metadata

  • Download URL: highresnet-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.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.8

File hashes

Hashes for highresnet-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5a58feee96a2e9ab1fd3f0fae84604f70554f67b9bbd25ff8b03964c0029b0b2
MD5 44222a2dda67b5730eae12c5c0b81fc5
BLAKE2b-256 762bbd3264a6127c2f1007f49aad654ffc311e7745a5e5a9b1bed9c8b377d7a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page