pdf-benchmark icon indicating copy to clipboard operation
pdf-benchmark copied to clipboard

Trying to get usability_template.py running

Open jasobro opened this issue 8 months ago • 1 comments

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 ?

jasobro avatar Jun 05 '24 17:06 jasobro