loujie0822 / DeepIE

DeepIE: Deep Learning for Information Extraction
https://github.com/loujie0822/DeepIE
1.93k stars 358 forks source link

AttributeError: 'str' object has no attribute 'keys' #68

Open ReadyTeresa opened 3 years ago

ReadyTeresa commented 3 years ago

File "/home/powerop/work/DeepIE-master/run/relation_extraction/etl_span_transformers/data_loader_v2.py", line 212, in _read for spo_object in spo['object'].keys(): AttributeError: 'str' object has no attribute 'keys'

lukerluker commented 2 years ago

我也是这个问题,你最后解决了吗

YongXu2020 commented 2 years ago

我也是这个问题,你最后解决了吗