Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading Custom Dataset error #166

Open
Adarsh-gif-crypt opened this issue Feb 9, 2023 · 4 comments
Open

Loading Custom Dataset error #166

Adarsh-gif-crypt opened this issue Feb 9, 2023 · 4 comments

Comments

@Adarsh-gif-crypt
Copy link

Adarsh-gif-crypt commented Feb 9, 2023

I'm trying out Pixellib in Google Colab but when I call load_dataset(), It generates a folder named train.json instead of a file. The folder then contains a file called 'dataset.json'. Relevant screenshots are attached. What to do in this situation?
image

@Roy-Praveen
Copy link

I have the same problem. Any solutions?

@janiceylau
Copy link

I have the same problem too. Have you found a solution? Would really appreciate some help!

@taimaruuu
Copy link

also having this issue. Tried making some changes in the init.py file to no avail

@Guide4Ever
Copy link

This is solved with:

  1. On Google Collab (or other service) you need to make sure to restart your runtime. Delete folder train.json which has dataset.json in it. It is error with labelcoco.
  2. Run this - downgrading:
    !pip install pixellib==0.5.2 !pip install labelme2coco==0.1.0
  3. Run again.
  4. Profit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants