allenai / vila

Incorporating VIsual LAyout Structures for Scientific Text Classification
Apache License 2.0
173 stars 16 forks source link

module layoutparser has no attribute EfficientDetLayoutModel #18

Closed wbb123 closed 2 years ago

wbb123 commented 2 years ago

Hi! I run the code of VILA PDFPredictor but find the error as follows. Could you please help me with it? Thank! Screen Shot 2022-04-26 at 4 58 42 PM

lolipopshock commented 2 years ago

Thank you! Perhaps you might want to try to upgrade layoutparser to the latest version with the efficientdet backend -- pip install -U "layoutparser[effdet]".

lolipopshock commented 2 years ago

Alright close it first and feel free to reopen it if you have more questions!