-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
Hi,
when using the StarDIst 3D wrapper from the BIOP plugin in Fiji to use a pretrained model for prediction, I get the following error
Traceback (most recent call last):
File "C:\Conda\envs\csbdeep\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Conda\envs\csbdeep\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Conda\envs\csbdeep\Scripts\stardist-predict3d.exe\__main__.py", line 7, in <module>
File "C:\Conda\envs\csbdeep\lib\site-packages\stardist\scripts\predict3d.py", line 45, in main
get_registered_models(StarDist3D, verbose=True)
File "C:\Conda\envs\csbdeep\lib\site-packages\csbdeep\models\pretrained.py", line 68, in get_registered_models
print("\u2500\u2500\u2500\u2500{s}\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500".format(s=' '*(_maxkeylen-4+3)))
File "C:\Conda\envs\csbdeep\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-3: character maps to <undefined>
It seems that the unicode character used at this line
CSBDeep/csbdeep/models/pretrained.py
Line 68 in 282664f
| print("────{s}─────────".format(s=' '*(_maxkeylen-4+3))) |
is not recognized, at least on my Windows machine.
Metadata
Metadata
Assignees
Labels
No labels