ayoolaolafenwa / PixelLib

Visit PixelLib's official documentation https://pixellib.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Colab and PixelLib

ruanpm opened this issue · comments

PixelLib creates "train.json" file in Google Colab, but it creates as a directory thus causing further errors. Ps: Also occurs in the notebook shared in documentation: Google Colab’s notebook

Any solution? Thank you in advance.

I found the solution on this issue.
Basically, you have to downgrade labelme2coco.

Run the following command:

!pip install pixellib==0.5.2
!pip install labelme2coco==0.1.0

After this, click to "Restart runtime", delete the directory train.json running rm-rf path-to-/train.json and try again.

Bro, you are the man, the living legend among the legends. @darlannakamura
It's very important to restart the runtime.