Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkya-kulkarni authored Feb 7, 2024
1 parent 56295c4 commit 6bfdf1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cellpose/CellposePrediction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
" elif option == 'cellpose':\n",
" zip_file_url = 'https://github.com/ajinkya-kulkarni/TrainedModels/raw/main/Cellpose/cellpose_model.zip'\n",
" zip_filename = 'CellposeTrainedModel.zip'\n",
" model_folder_path = 'cellpose_model.941139'\n",
" model_folder_path = 'cellpose_model.693768'\n",
" else:\n",
" raise ValueError(f\"Invalid option: {option}\")\n",
"\n",
Expand Down Expand Up @@ -100,7 +100,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "918f2fb1fc1c40bba470f9f237043fd8",
"model_id": "47c7efaef3124d21b89245e1ec0fd0ad",
"version_major": 2,
"version_minor": 0
},
Expand All @@ -114,7 +114,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "c6eba8a748be40d09cf503640e3b7c9a",
"model_id": "1cdf1abc4dc54f36b8bfd8c5ce44caff",
"version_major": 2,
"version_minor": 0
},
Expand Down Expand Up @@ -220,7 +220,7 @@
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "29c32c4c0ef8430d8b5fd17da8970367",
"model_id": "519572741c504e28b09f3ece55272b67",
"version_major": 2,
"version_minor": 0
},
Expand Down
4 changes: 2 additions & 2 deletions Cellpose/CellposeTraining.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def copy_files(src_root, filenames, destination):
min_labels_per_mask = 2
initial_diameter = 0
pretrained_model = 'None'
batch_size = 2
batch_size = 4
flow_threshold = 0.4
base_dir = "/home/ajinkya/Desktop/PyOrganoidAnalysis/Cellpose"
GPU_USAGE = True
Expand Down Expand Up @@ -137,4 +137,4 @@ def copy_files(src_root, filenames, destination):
print('Training model successful.')
print()

##################################################################################################################################################
##################################################################################################################################################

0 comments on commit 6bfdf1f

Please sign in to comment.