QTIM-Lab / DeepNeuro

A deep learning python package for neuroimaging data. Made by:
https://qtim-lab.github.io
MIT License
124 stars 36 forks source link

HTTP Error 400: bad request #58

Open tyronepower opened 4 years ago

tyronepower commented 4 years ago

Hi

I encountered the "bad request" problem I would be glad to get support in fixing it Thanks

(tf) C:\Users\ERNESTB>segment_gbm pipeline -T1 C:\Users\ERNESTB\Documents\deepNeuro\ozondo\PRE\T1 -T1POST C:\Users\ERNESTB\Documents\deepNeuro\ozondo\T1 -FLAIR C:\Users\ERNESTB\Documents\deepNeuro\ozondo\PRE\FLAIR -output_folder C:\Users\ERNESTB\Documents\deepNeuro\ozondo\result -save_all_steps -save_only_segmentations Using TensorFlow backend. File loading completed. Traceback (most recent call last): File "c:\users\ernestb\anaconda3\envs\tf\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\ernestb\anaconda3\envs\tf\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\ERNESTB\Anaconda3\envs\tf\Scripts\segment_gbm.exe__main__.py", line 7, in File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\Segment_GBM\cli.py", line 86, in main Segment_GBM_cli() File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\shared.py", line 22, in init self.load() File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\Segment_GBM\cli.py", line 16, in load super(Segment_GBM_cli, self).load() File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\shared.py", line 48, in load getattr(self, args.command)() File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\Segment_GBM\cli.py", line 82, in pipeline quiet=args.quiet) File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\pipelines\Segment_GBM\predict.py", line 70, in predict_GBM postprocessors=[BinarizeLabel(postprocessor_string='label')]) File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\models\model.py", line 284, in load_model_with_output model = load_old_model(load(model_name), *kwargs) File "c:\users\ernestb\anaconda3\envs\tf\lib\site-packages\deepneuro\load\load.py", line 70, in load urlretrieve(data_dict[dataset][1], dataset_path) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 247, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 222, in urlopen return opener.open(url, data, timeout) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 531, in open response = meth(req, response) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 563, in error result = self._call_chain(args) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 503, in _call_chain result = func(args) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 755, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 531, in open response = meth(req, response) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 569, in error return self._call_chain(args) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 503, in _call_chain result = func(*args) File "c:\users\ernestb\anaconda3\envs\tf\lib\urllib\request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 400: Bad Request