nettracer3d 0.5.8__py3-none-any.whl → 0.5.9__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.
- nettracer3d/segmenter.py +5 -2
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/METADATA +3 -3
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/RECORD +7 -7
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/LICENSE +0 -0
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/WHEEL +0 -0
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/entry_points.txt +0 -0
- {nettracer3d-0.5.8.dist-info → nettracer3d-0.5.9.dist-info}/top_level.txt +0 -0
nettracer3d/segmenter.py
CHANGED
|
@@ -1099,8 +1099,11 @@ class InteractiveSegmenter:
|
|
|
1099
1099
|
def cleanup(self):
|
|
1100
1100
|
"""Clean up GPU memory"""
|
|
1101
1101
|
if self.use_gpu:
|
|
1102
|
-
|
|
1103
|
-
|
|
1102
|
+
try:
|
|
1103
|
+
cp.get_default_memory_pool().free_all_blocks()
|
|
1104
|
+
torch.cuda.empty_cache()
|
|
1105
|
+
except:
|
|
1106
|
+
pass
|
|
1104
1107
|
|
|
1105
1108
|
def train_batch(self, foreground_array, speed = True, use_gpu = False, use_two = False):
|
|
1106
1109
|
"""Train directly on foreground and background arrays"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: nettracer3d
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.9
|
|
4
4
|
Summary: Scripts for intializing and analyzing networks from segmentations of three dimensional images.
|
|
5
5
|
Author-email: Liam McLaughlin <mclaughlinliam99@gmail.com>
|
|
6
6
|
Project-URL: User_Tutorial, https://www.youtube.com/watch?v=cRatn5VTWDY
|
|
@@ -44,6 +44,6 @@ NetTracer3D is free to use/fork for academic/nonprofit use so long as citation i
|
|
|
44
44
|
|
|
45
45
|
NetTracer3D was developed by Liam McLaughlin while working under Dr. Sanjay Jain at Washington University School of Medicine.
|
|
46
46
|
|
|
47
|
-
-- Version 0.5.
|
|
47
|
+
-- Version 0.5.9 updates --
|
|
48
48
|
|
|
49
|
-
1. Bug fixes
|
|
49
|
+
1. Bug fixes
|
|
@@ -10,12 +10,12 @@ nettracer3d/network_draw.py,sha256=F7fw6Pcf4qWOhdKwLmhwqWdschbDlHzwCVolQC9imeU,1
|
|
|
10
10
|
nettracer3d/node_draw.py,sha256=k3sCTfUCJs3aH1C1q1gTNxDz9EAQbBd1hsUIJajxRx8,9823
|
|
11
11
|
nettracer3d/proximity.py,sha256=FnIiI_AzfXd22HwCIFIyQRZxKYJ8YscIDdPnIv-wsO4,10560
|
|
12
12
|
nettracer3d/run.py,sha256=xYeaAc8FCx8MuzTGyL3NR3mK7WZzffAYAH23bNRZYO4,127
|
|
13
|
-
nettracer3d/segmenter.py,sha256=
|
|
13
|
+
nettracer3d/segmenter.py,sha256=PgKGDTkuQPntTHBuLvSCplOPkGIqd2EQce4l9rhes9I,51938
|
|
14
14
|
nettracer3d/simple_network.py,sha256=fP1gkDdtQcHruEZpUdasKdZeVacoLOxKhR3bY0L1CAQ,15426
|
|
15
15
|
nettracer3d/smart_dilate.py,sha256=Kekm6YIVlJniMvJMG6_AwwNmCqK2l4Qtvg9VzzqPKMw,24600
|
|
16
|
-
nettracer3d-0.5.
|
|
17
|
-
nettracer3d-0.5.
|
|
18
|
-
nettracer3d-0.5.
|
|
19
|
-
nettracer3d-0.5.
|
|
20
|
-
nettracer3d-0.5.
|
|
21
|
-
nettracer3d-0.5.
|
|
16
|
+
nettracer3d-0.5.9.dist-info/LICENSE,sha256=gM207DhJjWrxLuEWXl0Qz5ISbtWDmADfjHp3yC2XISs,888
|
|
17
|
+
nettracer3d-0.5.9.dist-info/METADATA,sha256=NiwydCiq-bMfMv6G1gZajGnrklMW33aW5JQSx11nqu0,2990
|
|
18
|
+
nettracer3d-0.5.9.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
|
19
|
+
nettracer3d-0.5.9.dist-info/entry_points.txt,sha256=Nx1rr_0QhJXDBHAQg2vcqCzLMKBzSHfwy3xwGkueVyc,53
|
|
20
|
+
nettracer3d-0.5.9.dist-info/top_level.txt,sha256=zsYy9rZwirfCEOubolhee4TyzqBAL5gSUeFMzhFTX8c,12
|
|
21
|
+
nettracer3d-0.5.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|