Commit e8564ce8 authored by Wenqi Li's avatar Wenqi Li

hybrid isampler + autocontext

parent dec04cb5
[config]
version = 1.0
[data]
local_id = mr_ct_regression
url = https://www.dropbox.com/s/lv31fultntgw66t/mr_ct_regression_model_zoo_data.tar.gz?dl=1
action = expand
destination = data
[error_maps]
local_id = isampler_autocontext_mr_ct
url = https://www.dropbox.com/s/xx5ahj4m12bf67h/autocontext_mr_ct_initial_maps.tar.gz?dl=1
action = expand
destination = models
[code]
local_id = isampler_autocontext_mr_ct
url = https://www.dropbox.com/s/mq4pgey1zfeai24/isampler_autocontext_mr_ct_model_zoo_config.tar.gz?dl=1
action = expand
destination = extensions
```bash
python net_run.py train \
-a niftynet.contrib.regression_weighted_sampler.isample_regression.ISampleRegression \
-c /home/wenqi/niftynet/extensions/isampler_autocontext_mr_ct/net_hybrid.ini \
--starting_iter 0 --max_iter 500
for max_iter in `seq 1000 1000 10000`
do
python net_run.py inference \
-a niftynet.contrib.regression_weighted_sampler.isample_regression.ISampleRegression \
-c ~/niftynet/extensions/isampler_autocontext_mr_ct/net_hybrid.ini \
--inference_iter -1 --spatial_window_size 240,240,1 --batch_size 4 --dataset_split_file nofile
python net_run.py inference \
-a niftynet.contrib.regression_weighted_sampler.isample_regression.ISampleRegression \
-c ~/niftynet/extensions/isampler_autocontext_mr_ct/net_hybrid.ini \
--inference_iter -1 --spatial_window_size 240,240,1 --batch_size 4 \
--dataset_split_file nofile --error_map True
python net_run.py train \
-a niftynet.contrib.regression_weighted_sampler.isample_regression.ISampleRegression \
-c ~/niftynet/extensions/isampler_autocontext_mr_ct/net_hybrid.ini \
--starting_iter -1 --max_iter $max_iter
done
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment