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

What are the correct corresponding versions of pixlib and TensorFlow? #170

Open
xuanxianyou opened this issue May 3, 2023 · 1 comment

Comments

@xuanxianyou
Copy link

xuanxianyou commented May 3, 2023

When I downloaded TensorFlow=2.12 and PixelLib=0.7.1, then run Visualize file, error: IsADirectoryError: [Errno 21] Is a directory: '/data/demo/Feature/train. json'. Afterwards, I updated TensorFlow version to 2.4 and found that the version of Numpy did not match. An error was reported: ValueError: numpy.ndarray size changed, may indicate binary incompatibility Expected 88 from C header, got 80 from PyObject

@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

2 participants