pdf-benchmark
pdf-benchmark copied to clipboard
Trying to get usability_template.py running
Hi,
When trying to execute usability_template.py I have to adjust the path in line 267 which I found under /Data/Docbank_sample. The sort_files directory is created and filled with files. Then in throws an error in line 277 because gtdf is an emtpy DataFrame:
final_df = pd.merge(resultdf.astype(str), gtdf.astype(str), on='ID') ^^^^^^^^^^^^^^^ AttributeError: 'str' object has no attribute 'astype'
Can you help me get the code running to evaluate my layout extractions ?