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 am getting this error when declaring model = lp.Detectron2LayoutModel('lp://TableBank/faster_rcnn_R_101_FPN_3x/config') or any other TableBank or PrimaLayout model.
Traceback (most recent call last):
File "tester.py", line 149, in <module>
model = lp.Detectron2LayoutModel('lp://TableBank/faster_rcnn_R_101_FPN_3x/config')
File "venv\lib\site-packages\layoutparser\models\detectron2\layoutmodel.py", line 101, in __init__
cfg.merge_from_file(config_path)
File "venv\lib\site-packages\detectron2\config\config.py", line 45, in merge_from_file
self.merge_from_other_cfg(loaded_cfg)
File "venv\lib\site-packages\fvcore\common\config.py", line 123, in merge_from_other_cfg
return super().merge_from_other_cfg(cfg_other)
File "venv\lib\site-packages\yacs\config.py", line 217, in merge_from_other_cfg
_merge_a_into_b(cfg_other, self, self, [])
File "venv\lib\site-packages\yacs\config.py", line 478, in _merge_a_into_b
_merge_a_into_b(v, b[k], root, key_list + [k])
File "venv\lib\site-packages\yacs\config.py", line 491, in _merge_a_into_b
raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: SOLVER.CLIP_GRADIENTS'
Can anyone help me there?
The text was updated successfully, but these errors were encountered:
I am getting this error when declaring model = lp.Detectron2LayoutModel('lp://TableBank/faster_rcnn_R_101_FPN_3x/config') or any other TableBank or PrimaLayout model.
Can anyone help me there?
The text was updated successfully, but these errors were encountered: