Traceback (most recent call last):


 "/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/model.py", line 1695, in data_generator

use_mini_mask=config.USE_MINI_MASK)


 "/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/model.py", line 1218, in load_image_gt

mask = utils.resize_mask(mask, scale, padding, crop)


 "/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/mask_rcnn-2.1-py3.6.egg/mrcnn/utils.py", line 513, in resize_mask

mask = scipy.ndimage.zoom(mask, zoom=[scale, scale, 1], order=0)


 "/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/scipy/ndimage/interpolation.py", line 606, in zoom

zoom = _ni_support._normalize_sequence(zoom, input.ndim)


 "/opt/anaconda3/envs/maskrcnn/lib/python3.6/site-packages/scipy/ndimage/_ni_support.py", line 65, in _normalize_sequence

raise RuntimeError(err)
RuntimeError: sequence argument must have length equal to input rank

Traceback (most recent call last):



 "<ipython-input-1-4d0fd1617f36>", line 1, in <module>

runfile('/home/visual/andche/MRI_DATA/andche_pipeline_v1.py', wdir='/home/visual/andche/MRI_DATA')



 "/project/3019005.02/conda/nipype/lib/python2.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 668, in runfile

execfile(filename, namespace)



 "/project/3019005.02/conda/nipype/lib/python2.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 100, in execfile

builtins.execfile(filename, *where)



 "/home/visual/andche/MRI_DATA/andche_pipeline_v1.py", line 629, in <module>

flow.run('PBS', plugin_args={'max_jobs':100, 'qsub_args' : '-l walltime=00:20:00,mem=8g', 'template':'#!/bin/sh\necho `date "+%Y%m%d-%H%M%S"`\nsource activate /project/3019005.02/conda/nipype\n', 'max_tries':3,'retry_timeout': 5, 'max_jobname_len': 15})



 "/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 595, in run

runner.run(execgraph, updatehash=updatehash, config=self.config)



 "/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/plugins/base.py", line 162, in run

self._clean_queue(jobid, graph, result=result))



 "/project/3019005.02/conda/nipype/lib/python2.7/site-packages/nipype/pipeline/plugins/base.py", line 224, in _clean_queue

raise RuntimeError("".join(result['traceback']))

RuntimeError: Traceback (most recent call last):
