File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ slurm partition num_cpu num_gpu cmd constraint='' mem='32G':
121121 - -output=slurm_outputs/ slurm-%j.out \
122122 - -error =slurm_outputs/ slurm-%j.err \
123123 - -nodes=1 \
124- - -ntasks={{ num_gpu }} \
124+ - -ntasks=1 \
125125 - -gpus-per-node={{ num_gpu}} \
126126 - -cpus-per-task={{ num_cpu}} \
127127 - -mem={{ mem}} \
128128 - -time=$time_limit \
129129 $constraint_flag \
130- - -wrap=" mkdir -p \$ HOME/.just && export JUST_TEMPDIR=\$ HOME/.just TMPDIR=\$ HOME/.just && source /projects/weilab/weidf/lib/miniconda3/bin/activate pytc && cd $PWD && srun --ntasks={{ num_gpu }} --ntasks-per-node= {{ num_gpu }} {{ cmd}} "
130+ - -wrap=" mkdir -p \$ HOME/.just && export JUST_TEMPDIR=\$ HOME/.just TMPDIR=\$ HOME/.just NCCL_SOCKET_FAMILY=AF_INET && source /projects/weilab/weidf/lib/miniconda3/bin/activate pytc && cd $PWD && srun --ntasks=1 {{ cmd}} "
131131
132132# Alias for slurm (kept for backward compatibility)
133133slurm-sh partition num_cpu num_gpu cmd constraint = ' ' mem = ' 32G':
Original file line number Diff line number Diff line change 11_base_ : mito_mitoEM_common.yaml
22
33experiment_name : mitoem30h_mednext_sdt
4+ system :
5+ training :
6+ num_workers : 2
7+ batch_size : 2
8+ inference :
9+ batch_size : 1
10+ model :
11+ input_size :
12+ - 16
13+ - 256
14+ - 256
15+ output_size :
16+ - 16
17+ - 256
18+ - 256
419data :
20+ use_preloaded_cache : false
21+ persistent_workers : false
22+ patch_size :
23+ - 16
24+ - 256
25+ - 256
526 train_image :
627 - EM30-H/im_train.h5
728 train_label :
1031 - EM30-H/im_val.h5
1132 val_label :
1233 - EM30-H/mito_val-v2.h5
34+ optimization :
35+ accumulate_grad_batches : 4
36+ inference :
37+ sliding_window :
38+ window_size :
39+ - 16
40+ - 256
41+ - 256
42+ sw_batch_size : 1
1343monitor :
1444 checkpoint :
1545 dirpath : outputs/mitoem30h_mednext_sdt/checkpoints/
You can’t perform that action at this time.
0 commit comments