biomedisa 24.8.7__py3-none-any.whl → 24.8.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
biomedisa/deeplearning.py CHANGED
@@ -369,7 +369,7 @@ if __name__ == '__main__':
369
369
  parser.add_argument('path_to_images', type=str, metavar='PATH_TO_IMAGES',
370
370
  help='Location of image data (tarball, directory, or file)')
371
371
  parser.add_argument('path', type=str, metavar='PATH',
372
- help='Location of label data during training (tarball, directory, or file) or model for prediction (h5)')
372
+ help='Location of label data for training (tarball, directory, or file) or model for prediction (.h5)')
373
373
 
374
374
  # optional arguments
375
375
  g.add_argument('-p','--predict', action='store_true', default=False,
@@ -498,6 +498,8 @@ if __name__ == '__main__':
498
498
  help='Refine segmentation on full size data')
499
499
  parser.add_argument('-ext','--extension', type=str, default=None,
500
500
  help='Save data in formats like NRRD or TIFF using --extension=".nrrd"')
501
+ parser.add_argument('-ptm','--path_to_model', type=str, metavar='PATH', default=None,
502
+ help='Specify the model location for training')
501
503
  bm = parser.parse_args()
502
504
  bm.success = True
503
505
 
@@ -513,7 +515,8 @@ if __name__ == '__main__':
513
515
  bm.path_to_model = bm.path
514
516
  if bm.train:
515
517
  bm.path_to_labels = bm.path
516
- bm.path_to_model = bm.path_to_images + '.h5'
518
+ if bm.path_to_model is None:
519
+ bm.path_to_model = bm.path_to_images + '.h5'
517
520
 
518
521
  # django environment
519
522
  if bm.img_id is not None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: biomedisa
3
- Version: 24.8.7
3
+ Version: 24.8.8
4
4
  Summary: Segmentation of 3D volumetric image data
5
5
  Author: Philipp Lösel
6
6
  Author-email: philipp.loesel@anu.edu.au
@@ -1,6 +1,6 @@
1
1
  biomedisa/__init__.py,sha256=hw4mzEjGFXm-vxus2DBfKFW0nKoG0ibL5SH6ShfchrY,1526
2
2
  biomedisa/__main__.py,sha256=a1--8vhtztWEloHVtbM43FZLCfrFo4BELgdsgtWE8ls,536
3
- biomedisa/deeplearning.py,sha256=r4YzFUss_2u6I7clIg9QD4DDx7bq8AFUnUgU1TCwS1c,28273
3
+ biomedisa/deeplearning.py,sha256=chN5uLHvmIl6gdqNYKSyq-3CNZt5n2o6drFtkeNChpg,28474
4
4
  biomedisa/interpolation.py,sha256=i10aqwEl-wsVU_nQ-zyubhAs27NSKF4ial7LyhaBLv0,17273
5
5
  biomedisa/mesh.py,sha256=8-iuVsrfW5JovaMrAez7qSxv1LCU3eiqOdik0s0DV1w,16062
6
6
  biomedisa/features/DataGenerator.py,sha256=m7vsKkLhRsVF1BE3Y8YGVx-xx0DWjbBw_inIdZBq6pQ,13111
@@ -37,8 +37,8 @@ biomedisa/features/random_walk/pyopencl_large.py,sha256=q79AxG3p3qFjxfiAZfUK9I5B
37
37
  biomedisa/features/random_walk/pyopencl_small.py,sha256=opNlS-qzOa9qWafBNJdvf6r1aRAFf7_JXf6ISDnkdXE,17068
38
38
  biomedisa/features/random_walk/rw_large.py,sha256=ZnITvk00Y11ZZlGuBRaJO1EwU0wYBdEwdpj9vvXCqF4,19805
39
39
  biomedisa/features/random_walk/rw_small.py,sha256=RPzZe24YrEwYelJukDjvqaoD_SyhgdriEi7uV3kZGXI,14881
40
- biomedisa-24.8.7.dist-info/LICENSE,sha256=sehayP6UhydNnmstfL4yFR3genMRdpuUh6uZVWJN1H0,14152
41
- biomedisa-24.8.7.dist-info/METADATA,sha256=7qJuRtt6SHy4MnZDyn-lqgSPXIjjSTrFZYRbXMbW5Mc,10708
42
- biomedisa-24.8.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
43
- biomedisa-24.8.7.dist-info/top_level.txt,sha256=opsf1Eb4vCguPSxev4HHSeiUKCccT_C_RcUCdAYbHWQ,10
44
- biomedisa-24.8.7.dist-info/RECORD,,
40
+ biomedisa-24.8.8.dist-info/LICENSE,sha256=sehayP6UhydNnmstfL4yFR3genMRdpuUh6uZVWJN1H0,14152
41
+ biomedisa-24.8.8.dist-info/METADATA,sha256=kOfWrd_HbkEy_Ppoa-AXJkxDhG-K-v8EGIFGnMsY6LU,10708
42
+ biomedisa-24.8.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
43
+ biomedisa-24.8.8.dist-info/top_level.txt,sha256=opsf1Eb4vCguPSxev4HHSeiUKCccT_C_RcUCdAYbHWQ,10
44
+ biomedisa-24.8.8.dist-info/RECORD,,