Giter VIP home page Giter VIP logo

Comments (2)

LxYuan-Handshakes avatar LxYuan-Handshakes commented on May 18, 2024

I have tried downgraded numpy to 1.17.4 and 1.19.3 but it didn't work.

The error message i got:

(env)$ python main.py --data_type detection --config_file detection_config.json --data_root_dir ~/../pubtables/PubTables1M-Detection-PASCAL-VOC/ 
Traceback (most recent call last):
  File "/home/lxyuan/playground/table-transformer/src/main.py", line 16, in <module>
    from engine import evaluate, train_one_epoch
  File "/home/lxyuan/playground/table-transformer/src/../detr/engine.py", line 13, in <module>
    from datasets.coco_eval import CocoEvaluator
  File "/home/lxyuan/playground/table-transformer/src/../detr/datasets/__init__.py", line 5, in <module>
    from .coco import build as build_coco
  File "/home/lxyuan/playground/table-transformer/src/../detr/datasets/coco.py", line 12, in <module>
    from pycocotools import mask as coco_mask
  File "/home/lxyuan/playground/table-transformer/env/lib64/python3.9/site-packages/pycocotools/mask.py", line 3, in <module>
    import pycocotools._mask as _mask
  File "pycocotools/_mask.pyx", line 1, in init pycocotools._mask
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 80 from PyObject

from table-transformer.

LxYuan-Handshakes avatar LxYuan-Handshakes commented on May 18, 2024

Solution:

from table-transformer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.