What are the correct corresponding versions of pixlib and TensorFlow?
xuanxianyou opened this issue · comments
kaneziki commented
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
Amadej Šenk commented
This is solved with:
- 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.
- Run this - downgrading:
!pip install pixellib==0.5.2 !pip install labelme2coco==0.1.0
- Run again.
- Profit.