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

Images won't download #11

Open
HenryCWong opened this issue Jan 15, 2025 · 1 comment
Open

Images won't download #11

HenryCWong opened this issue Jan 15, 2025 · 1 comment

Comments

@HenryCWong
Copy link

HenryCWong commented Jan 15, 2025

Trying to convert FLIR data into a yolo format https://www.flir.com/oem/adas/adas-dataset-form/

I run:

sudo ./coco2yolo -ann-path ~/Documents/project/data/images_thermal_train/coco.json -img-dir ~/Documents/project/train/ -task-dir ~/Documents/project/text/

and I get

loading annotations into memory...
Done (t=0.81s)
creating index...
index created!
COCO categories: 
['person', 'bike', 'car', 'motor', 'airplane', 'bus', 'train', 'truck', 'boat', 'light', 'hydrant', 'sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'deer', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'stroller', 'rider', 'scooter', 'vase', 'scissors', 'face', 'other vehicle', 'license plate']

Enter the categories name you wish(split: ', '): person
['person']
The total number of the data: 8205
There have 8205 data not exist in /home/sectorv/Documents/heimdall/train
Do you want to download all of it? [y/n]: y
Download data:  data/video-GzdKTLbkG5F7gAunM-frame-000108-QHZmA4QTZCnzBG3HZ.jpg
Download Interrupt!! there still have 8205 data not complete.
Do you want to show the un-downloaded data? [y/n]: n
Index Correspond Table:
{'person': 0}
Creating symbolic links...
Already exist a directory in here, do you still want to use this directory save your task?
(Note: if yes, it will save existing & new files in the /home/sectorv/Documents/heimdall/text) [y/n]: y
Symbolic links for /home/sectorv/Documents/heimdall/train to /home/sectorv/Documents/heimdall/text complete!!
Converting COCO format to YOLO format by task...
Covert format from /home/sectorv/Documents/heimdall/data/images_thermal_train/coco.json to /home/sectorv/Documents/heimdall/text/ complete!!
DONE!!

And of course all folders are empty.

@tw-yshuang
Copy link
Owner

Hi, Can you provide the annotations.json?

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