Comments (5)
Upgrading numpy to version 1.20.3 appears to have solved the problem. Perhaps
pycocotools
has been updated with a newer version of numpy?
Yes, pycocotools
looks like the culprit.
from bdd100k.
This is because your install python libraries are depending on different numpy versions. You can resolve this issue by creating a clean virtual python environment and install all the required libraries with pip install -r requirements.txt
from scratch.
from bdd100k.
Hello @fyu , thank you for the wonderful dataset and rapid reply!
That is what I did using an anaconda env, still using the same command you listed. Here is the version info:
Python 3.7.10 (default, Feb 26 2021, 18:47:35)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
import numpy
print(numpy._ _ version _ _)
1.19.5
from bdd100k.
You have the right numpy version, but some of your libraries (maybe pycocotools
) depend on a different version of numpy. A clean install usually solves the problem.
from bdd100k.
Upgrading numpy to version 1.20.3 appears to have solved the problem. Perhaps pycocotools
has been updated with a newer version of numpy? Here is the output of the same corrected command:
(bdd100k) redact@redact:/redact/workspace/pycharm_projects/bdd100k$ python3 -m bdd100k.label.to_coco -i /redact/bdd100k/labels/det_20/det_train.json -o /redact/datasets/bdd100k/labels/det_20_coco/det_train.json [2021-05-31 14:33:39,024 to_coco.py:577 main] Loading annotations... [2021-05-31 14:34:37,101 to_coco.py:586 main] Start format converting... 100%|██████████████████████████████████████████████████████████████████████████| 69863/69863 [00:01<00:00, 53779.44it/s] 100%|███████████████████████████████████████████████████████████████████████████| 69863/69863 [00:10<00:00, 6383.82it/s] [2021-05-31 14:34:49,386 to_coco.py:590 main] Saving converted annotations to disk... [2021-05-31 14:35:12,709 to_coco.py:593 main] Finished!
from bdd100k.
Related Issues (20)
- Corresponding images for segmentation masks HOT 1
- BDD-X
- EvalAI status stuck on "Runnung"(CVPR2023 MOT)
- conversion of train labels to coco format hangs
- float pixels for bounding boxes? x1 y1 x2 y2
- Eval.run insane memory usage HOT 1
- Multiprocessing Error HOT 3
- converting labels to mask problem HOT 1
- the specific label classification for Detection 2020 Labels HOT 1
- Extracting a single line for each lane line
- EvalAI submission error! HOT 6
- Converting from coco to BDD100k help
- Error converting labels from BDD100K to COCO HOT 3
- Error converting labels from BDD100K to COCO HOT 2
- error for label when to coco HOT 3
- Download website unreachable HOT 5
- Please update the necessary, optional, and nullable field logic for subclasses of BaseModel in pytandic to accommodate pytandicV2 HOT 1
- EvalAI submission issue, urgent! HOT 2
- Download website unreachable
- Missing data "118754"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdd100k.