Skip to content

Commit 5162924

Browse files
committed
add init file and update version
add init file and update version
1 parent 8f8eb33 commit 5162924

File tree

7 files changed

+18
-4
lines changed

7 files changed

+18
-4
lines changed

pymic/net_run_nll/__init__.py

Whitespace-only changes.

pymic/net_run_ssl/__init__.py

Whitespace-only changes.

pymic/net_run_wsl/__init__.py

Whitespace-only changes.

pymic/net_run_wsl/wsl_dmpls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import numpy as np
55
import random
66
import torch
7-
from torhc.optim import lr_scheduler
7+
from torch.optim import lr_scheduler
88
from pymic.loss.seg.util import get_soft_label
99
from pymic.loss.seg.util import reshape_prediction_and_ground_truth
1010
from pymic.loss.seg.util import get_classwise_dice

pymic/net_run_wsl/wsl_gatedcrf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import logging
44
import numpy as np
55
import torch
6-
from torhc.optim import lr_scheduler
6+
from torch.optim import lr_scheduler
77
from pymic.loss.seg.util import get_soft_label
88
from pymic.loss.seg.util import reshape_prediction_and_ground_truth
99
from pymic.loss.seg.util import get_classwise_dice

requirements.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
matplotlib>=3.1.2
2+
numpy>=1.17.4
3+
pandas>=0.25.3
4+
python>=3.6
5+
scikit-image>=0.16.2
6+
scikit-learn>=0.22
7+
scipy>=1.3.3
8+
SimpleITK>=1.2.4
9+
tensorboard>=2.1.0
10+
tensorboardX>=1.9
11+
torch>=1.7.1
12+
torchvision>=0.8.2

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
# Get the summary
55
description = 'An open-source deep learning platform' + \
6-
' for medical image computing'
6+
' for annotation-efficient medical image computing'
77

88
# Get the long description
99
with open('README.md', encoding='utf-8') as f:
1010
long_description = f.read()
1111

1212
setuptools.setup(
1313
name = 'PYMIC',
14-
version = "0.2.5",
14+
version = "0.3.0",
1515
author ='PyMIC Consortium',
1616
author_email = 'wguotai@gmail.com',
1717
description = description,
@@ -31,6 +31,8 @@
3131
'console_scripts': [
3232
'pymic_run = pymic.net_run.net_run:main',
3333
'pymic_ssl = pymic.net_run_ssl.ssl_main:main',
34+
'pymic_wsl = pymic.net_run_wsl.wsl_main:main',
35+
'pymic_nll = pymic.net_run_nll.nll_main:main',
3436
'pymic_eval_cls = pymic.util.evaluation_cls:main',
3537
'pymic_eval_seg = pymic.util.evaluation_seg:main'
3638
],

0 commit comments

Comments
 (0)