DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.46k stars 422 forks source link

ImportError: cannot import name 'isStringType' from 'PIL._util' (/usr/local/lib/python3.7/dist-packages/PIL/_util.py) #129

Open JohnnyYeen opened 3 years ago

JohnnyYeen commented 3 years ago

I tried to run the code on Google Colab followed the instructions in demo, and got this problem.

firsovdevelop commented 3 years ago

I have a similar problem. I don't know how to decide yet. But you can see that errors (and warnings) are already occurring in the first cell when installing dependencies.

jeanmonet commented 3 years ago

Same here :(

karandua2016 commented 3 years ago

Make sure the pillow version installed <=6.2.2. Latest pillow isn't compatible with the specified version of mmdet.

hoangtv2000 commented 2 years ago

After following the installation requirements, I restarted the kernel and solved this issue.