File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,4 @@ check_examples.sh
44
44
45
45
# Unnecessary files
46
46
test_scripts
47
+ json_to_geojson.ipynb
Original file line number Diff line number Diff line change @@ -82,3 +82,15 @@ def cache_classifier(logger: Optional[logging.Logger] = None) -> Path:
82
82
if zip_dir .exists ():
83
83
os .remove (zip_dir )
84
84
return classifier_dir
85
+
86
+
87
+ def main ():
88
+ """Main function to cache models and classifier."""
89
+ logger = PrintLogger ()
90
+ cache_cellvit_sam_h (logger )
91
+ cache_cellvit_256 (logger )
92
+ cache_classifier (logger )
93
+
94
+
95
+ if __name__ == "__main__" :
96
+ main ()
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " cellvit"
7
- version = " 1.0.6 "
7
+ version = " 1.0.8 "
8
8
description = " CellViT Inference Pipeline for Whole Slide Images (WSI) in Memory"
9
9
authors = [
10
10
{
name =
" Fabian Hörst" ,
email =
" [email protected] " }
@@ -31,7 +31,7 @@ dependencies = [
31
31
" numpy<2.0.0" ,
32
32
" opencv-python-headless==4.7.0.72" ,
33
33
" opt-einsum>=3.3.0" ,
34
- " pandas>=1.4.3,<2.0.0 " ,
34
+ " pandas" ,
35
35
" pathopatch>=1.0.9" ,
36
36
" pydantic>=1.10.16,<2.0" ,
37
37
" pydicom==2.4.4" ,
@@ -58,3 +58,4 @@ License = "https://github.com/TIO-IKIM/CellViT-Inference/blob/main/LICENSE"
58
58
cellvit-inference = " cellvit.detect_cells:main"
59
59
cellvit-check = " cellvit.check_system:main"
60
60
cellvit-download-examples = " cellvit.utils.cache_test_database:cache_test_database"
61
+ cellvit-download-models = " cellvit.utils.cache_models:main"
You can’t perform that action at this time.
0 commit comments