Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hyunji
/
A-Performance-Evaluation-of-CNN-for-Brain-Age-Prediction-Using-Structural-MRI-Data
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Hyunji
2021-12-20 04:29:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67774d3d022b38883b30817449167cf23a958178
67774d3d
1 parent
ea1d7b76
Upload new file
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
2DCNN/src/shell/table4.sh
2DCNN/src/shell/table4.sh
0 → 100644
View file @
67774d3
#!/usr/bin/env sh
# DEFINE
DATA_ROOT_PATH
=
""
DEVICE
=
"cuda"
################################################################################
#### Commands for training with less sample (Table 4)
#### we show the command for 2d-slice set network with mean operation
#### for other models just use the command from table 1 section and add the
#### data.num_sample parameter and increase number of epochs and patience
################################################################################
python3 -m src.scripts.main -c config/config.py
\
--exp_name
2d_slice_mean_n
=
5000
\
-r result/2d_slice_mean_n
=
5000
\
--device
$DEVICE
--wandb.use 0
\
--model.arch.file src/arch/brain_age_slice_set.py
\
--model.arch.attn_dim 32 --model.arch.attn_num_heads 1
\
--model.arch.attn_drop 1 --model.arch.agg_fn
"mean"
\
--data.root_path
"
$DATA_ROOT_PATH
"
\
--data.train_num_sample 5000
\
--train.max_epoch 145 --train.patience 145
Please
register
or
login
to post a comment