File tree Expand file tree Collapse file tree 5 files changed +20
-10
lines changed
reproducibility/templates_processing Expand file tree Collapse file tree 5 files changed +20
-10
lines changed Original file line number Diff line number Diff line change 1010import numpy as np
1111import pybdv
1212
13- from cluster_tools .utils .volume_utils import write_format_metadata
13+ try :
14+ from cluster_tools .utils .volume_utils import write_format_metadata
15+ except ImportError :
16+ write_format_metadata = None
17+
1418from elf .io import open_file
1519from skimage .transform import rescale
1620
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ For IHC segmentation run:
1212- apply_unet_IHC_template.sbatch
1313- segment_unet_IHC_template.sbatch
1414
15- For ribbon synapse detection run:
16- - detect_synapse_marker_template.sbatch
15+ For ribbon synapse detection without associated IHC segmentation run
1716- detect_synapse_template.sbatch
17+ For ribbon synapse detection with associated IHC segmentation run
18+ - detect_synapse_marker_template.sbatch
Original file line number Diff line number Diff line change 99# SBATCH -a 0-9
1010
1111source ~ /.bashrc
12- micromamba activate micro-sam_gpu
12+ # micromamba activate micro-sam_gpu
13+ micromamba activate sam
1314
1415# Print out some info.
1516echo " Submitting job with sbatch from directory: ${SLURM_SUBMIT_DIR} "
@@ -19,7 +20,8 @@ echo "Current node: ${SLURM_NODELIST}"
1920
2021# Run the script
2122
22- SCRIPT_REPO=/user/schilling40/u15000/flamingo-tools
23+ # SCRIPT_REPO=/user/schilling40/u15000/flamingo-tools
24+ SCRIPT_REPO=/user/pape41/u12086/Work/my_projects/flamingo-tools
2325cd " $SCRIPT_REPO " /flamingo_tools/segmentation/ || exit
2426
2527export SCRIPT_DIR=$SCRIPT_REPO /scripts
@@ -37,7 +39,8 @@ export INPUT=/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/"$COC
3739
3840export OUTPUT_FOLDER=/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/predictions/" $COCHLEA " /" $SEG_NAME "
3941
40- export MODEL=/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/trained_models/IHC/v4_cochlea_distance_unet_IHC_supervised_2025-07-14
42+ # export MODEL=/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/trained_models/IHC/v4_cochlea_distance_unet_IHC_supervised_2025-07-14
43+ export MODEL=/mnt/vast-nhr/projects/nim00007/data/moser/cochlea-lightsheet/trained_models/IHC/v5_cochlea_distance_unet_IHC_supervised_2025-08-20/
4144export PREDICTION_INSTANCES=10
4245export INPUT_KEY=" setup$STAIN_CHANNEL /timepoint0/s0"
4346
Original file line number Diff line number Diff line change 88# SBATCH --mem 128G
99
1010source ~ /.bashrc
11- micromamba activate flamingo13
11+ # micromamba activate flamingo13
12+ micromamba activate sam
1213
1314# Run the script
1415
15- SCRIPT_REPO=/user/schilling40/u15000/flamingo-tools
16+ # SCRIPT_REPO=/user/schilling40/u15000/flamingo-tools
17+ SCRIPT_REPO=/user/pape41/u12086/Work/my_projects/flamingo-tools
1618cd " $SCRIPT_REPO " /flamingo_tools/segmentation/ || exit
1719
1820export SCRIPT_DIR=$SCRIPT_REPO /scripts
Original file line number Diff line number Diff line change 11#! /bin/bash
22# SBATCH --job-name=segment-unet-SGN
3- # SBATCH --time 10 :00:00 # for gerbil up to ~30 hours
3+ # SBATCH --time 35 :00:00 # for gerbil up to ~30 hours
44
55# SBATCH -p standard96s:shared # the partition
66# SBATCH -A nim00007
7- # SBATCH -c 8
7+ # SBATCH -c 12
88# SBATCH --mem 400G
99
1010source ~ /.bashrc
You can’t perform that action at this time.
0 commit comments