Hyunji

Upload new file

1 +#!/usr/bin/env sh
2 +
3 +# DEFINE
4 +DATA_ROOT_PATH=""
5 +DEVICE="cuda"
6 +
7 +################################################################################
8 +#### Commands for training with slice along other dimensions (Table 5)
9 +#### we show the command for 2d-slice set network with mean operation and along
10 +#### coronal axis.
11 +#### for other models just use the command from table 1 section and add the
12 +#### data.frame_dim parameter,
13 +# 1 for sagittal (default)
14 +# 2 for coronal
15 +# 3 for axial
16 +################################################################################
17 +python3 -m src.scripts.main -c config/config.py \
18 + --exp_name 2d_slice_mean_frame_dim_2 \
19 + -r result/2d_slice_mean_frame_dim_2 \
20 + --device $DEVICE --wandb.use 0 \
21 + --model.arch.file src/arch/brain_age_slice_set.py \
22 + --model.arch.attn_dim 32 --model.arch.attn_num_heads 1 \
23 + --model.arch.attn_drop 1 --model.arch.agg_fn "mean" \
24 + --data.root_path "$DATA_ROOT_PATH" \
25 + --data.frame_dim 2
26 +
27 +