Issue testing for 'net_segmentation' command in pip-installer CI script rather than 'niftynet'
@@ -131,8 +131,8 @@ pip-installer:
- python $package_importer
# test niftynet command
- ln -s /home/gitlab-runner/environments/niftynet/data/example_volumes ./example_volumes
- - niftynet train -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 42 --label_size 42 --batch_size 1 --save_every_n 10
- - niftynet inference -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 80 --label_size 80 --batch_size 8
+ - net_segmentation train -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 42 --label_size 42 --batch_size 1 --save_every_n 10
+ - net_segmentation inference -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 80 --label_size 80 --batch_size 8
# deactivate virtual environment
- deactivate
- cd $niftynet_dir
@@ -155,8 +155,8 @@ pip-installer:
- python $package_importer
# test niftynet command
- ln -s /home/gitlab-runner/environments/niftynet/data/example_volumes ./example_volumes
- - niftynet train -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 42 --label_size 42 --batch_size 1 --save_every_n 10
- - niftynet inference -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 80 --label_size 80 --batch_size 8
+ - net_segmentation train -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 42 --label_size 42 --batch_size 1 --save_every_n 10
+ - net_segmentation inference -c $niftynet_dir/config/default_config.txt --net_name toynet --image_size 80 --label_size 80 --batch_size 8
# deactivate virtual environment
- deactivate
- cd $niftynet_dir
