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
I encounter the following error when running demo script for layout parser.
Traceback (most recent call last):
File "/Users/s_higuchi/.pyenv/versions/3.10.14/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/Users/s_higuchi/.pyenv/versions/3.10.14/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/s_higuchi/project/docling_debug/docling-ibm-models/demo/demo_layout_predictor.py", line 133, in <module>
main(args)
File "/Users/s_higuchi/project/docling_debug/docling-ibm-models/demo/demo_layout_predictor.py", line 107, in main
demo(logger, artifact_path, num_threads, img_dir, viz_dir)
File "/Users/s_higuchi/project/docling_debug/docling-ibm-models/demo/demo_layout_predictor.py", line 55, in demo
round(pred["l"]),
TypeError: type Tensor doesn't define __round__ method
Bug
I encounter the following error when running demo script for layout parser.
Steps to reproduce
Docling-ibm-models version
Version: 2.0.7
Python version
Python 3.10.14
The text was updated successfully, but these errors were encountered: