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
{{ message }}
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.
I have used the default origami models from Dropbox to run origami.batch.detect.segment. The contours process worked fine but I got a KeyError when running origami.batch.detect.flow
python -m origami.batch.detect.flow ./IMG2
running origami.batch.detect.flow.
scanning IMG2... done.
1 documents found, 1 ready to process.
0%| | 0/1 [00:00<?, ?it/s]ERROR:root:Failed to process IMG2/00003.jpg.
Traceback (most recent call last):
File "/home/isabelle/Tools/origami/origami/batch/core/processor.py", line 411, in _trigger_process1
runtime_info = self.process(p, **kwargs)
File "/home/isabelle/Tools/origami/origami/batch/detect/flow.py", line 356, in process
blocks = warped.regions.by_path
File "/home/isabelle/anaconda3/envs/origami/lib/python3.7/site-packages/cached_property.py", line 36, in __get__
value = obj.__dict__[self.func.__name__] = self.func(obj)
File "/home/isabelle/Tools/origami/origami/batch/core/io.py", line 307, in regions
open=self._open)
File "/home/isabelle/Tools/origami/origami/batch/core/io.py", line 176, in __init__
open=open).items:
File "/home/isabelle/Tools/origami/origami/batch/core/io.py", line 141, in read_contours
if not filter_path(parts):
File "/home/isabelle/Tools/origami/origami/batch/core/io.py", line 126, in filter_path
t = PredictorType[predictions[prediction_name]["type"]]
KeyError: 'v3'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have used the default origami models from Dropbox to run origami.batch.detect.segment. The contours process worked fine but I got a KeyError when running origami.batch.detect.flow
The text was updated successfully, but these errors were encountered: