layout-parser
layout-parser copied to clipboard
OS error on Detectron2LayoutModel
i'm trying to use detectron2 model for extraction information but i got this problem, i tried many ways but i failed to solve it, i tried to use google collab but it throws me :"ImportError: you cannot import is_directory", does anyone know how can i fix it ? any help would be appreciated
meet same things
me too
I fixed it: download the config file and open it ,find the line like "WEIGHTS: https://www.dropbox.com/s/d9fc9tahfzyl6df/model_final.pth?dl=1" copy the link and open it on your browser, download the model file , modify the path of weight in config file 'WEIGHTS: path to your model file', and runing your demo file
I fixed it: download the config file and open it ,find the line like "WEIGHTS: https://www.dropbox.com/s/d9fc9tahfzyl6df/model_final.pth?dl=1" copy the link and open it on your browser, download the model file , modify the path of weight in config file 'WEIGHTS: path to your model file', and runing your demo file
Cool, but what if we donot want to download a model manually, like for one case - during deployment with docker?