You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) D:\newwork\tkuanlun350\3DUnet-Tensorflow-Brats18-master>python preprocess.py
Processing HGG ...
0%| | 0/210 [00:00<?, ?it/s]
Traceback (most recent call last):
File "preprocess.py", line 77, in
main()
File "preprocess.py", line 56, in main
N4BiasFieldCorrect(mod_file, output_path)
File "preprocess.py", line 15, in N4BiasFieldCorrect
normalized.run()
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 522, in run
runtime = self._run_interface(runtime)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\ants\segmentation.py", line 420, in _run_interface
runtime, correct_return_codes)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 1035, in _run_interface
runtime = run_command(runtime, output=self.terminal_output)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 773, in run_command
close_fds=(not sys.platform.startswith('win')),
File "C:\ProgramData\Miniconda3\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\ProgramData\Miniconda3\lib\subprocess.py", line 997, in _execute_child
startupinfo)
TypeError: environment can only contain strings
Seems to relate to Unicode being unsupported in Python
Any fix for this ?
The text was updated successfully, but these errors were encountered:
(base) D:\newwork\tkuanlun350\3DUnet-Tensorflow-Brats18-master>python preprocess.py
Processing HGG ...
0%| | 0/210 [00:00<?, ?it/s]
Traceback (most recent call last):
File "preprocess.py", line 77, in
main()
File "preprocess.py", line 56, in main
N4BiasFieldCorrect(mod_file, output_path)
File "preprocess.py", line 15, in N4BiasFieldCorrect
normalized.run()
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 522, in run
runtime = self._run_interface(runtime)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\ants\segmentation.py", line 420, in _run_interface
runtime, correct_return_codes)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 1035, in _run_interface
runtime = run_command(runtime, output=self.terminal_output)
File "C:\ProgramData\Miniconda3\lib\site-packages\nipype\interfaces\base\core.py", line 773, in run_command
close_fds=(not sys.platform.startswith('win')),
File "C:\ProgramData\Miniconda3\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\ProgramData\Miniconda3\lib\subprocess.py", line 997, in _execute_child
startupinfo)
TypeError: environment can only contain strings
Seems to relate to Unicode being unsupported in Python
Any fix for this ?
The text was updated successfully, but these errors were encountered: