• Stars
    star
    670
  • Rank 67,354 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

10k crowdsourced images for training segnets

comma10k

Completion Status

It's 10,000 PNGs of real driving captured from the comma fleet, semantically labeled by the public. It's MIT license, no academic only restrictions or anything.

Learn more from the blog post, or on the comma.ai discord in the #comma-pencil channel.

Alt

Run

./viewer.py
to see them with the mask overlay.

Directories

 imgs/  -- The PNG image files
 masks/ -- PNG segmentation masks (update these!)
 imgs2/  -- New PNG image files paired with fisheye PNGs
 masks2/ -- PNG segmentation masks (update these!)
 imgsd/  -- Driver camera PNG image files from Comma3
 masksd/ -- PNG segmentation masks (update these!)
 segs/  -- The outputs in probability from our internal segnet (unreleased, too big)

Categories of internal segnet

 1 - #402020 - road (all parts, anywhere nobody would look at you funny for driving)
 2 - #ff0000 - lane markings (don't include non lane markings like turn arrows and crosswalks)
 3 - #808060 - undrivable
 4 - #00ff66 - movable (vehicles and people/animals)
 5 - #cc00ff - my car (and anything inside it, including wires, mounts, etc. No reflections)
 6 - #00ccff - movable in my car (people inside the car, imgsd only)

How can I help?

  1. Visit the Google Spreadsheet (request access to edit the spreadsheet) and put your discord username in the "labeler" column for the mask(s) you'll be working on and change the status to "In Progress." If you're new, please start off with just one so we can leave you feedback; this is to prevent you from having to redo them because of something done incorrectly. UPDATE: The original imgs set is complete, but a new imgs2 set was added and is still unfinished. There are "e" and "f" versions for the same image number. Check the "imgs2 series" tab in the spreadsheet to see what's available.

    UPDATE 2: Interior images have been added to the imgsd folder. These are the current priority.

  2. Spend some time studying already merged masks to see how things are labeled. You could use the comma10kviewer web tool to easily do this.

  3. Watch the Beginner Tutorial youtube video below.

  4. Start labelling! Useful label tools:

    • img-labeler Only compatible with Chrome and Edge. Other browsers like Brave, Firefox, and Opera, even if chromium based, don't work properly. Must be used with browser zoom and monitor scaling disabled otherwise it will save with a wrong resolution. Hardware acceleration has also been identified as a possible cause for img-labaler incorrectly saving masks with anti-aliasing. It can be disabled at chrome://settings/system.
      UPDATE: Img-labeler has been updated to support the new imgs2 set. If, for example, you would like to work on image 00074_e, simply type 74e in the image number box. Type 74f for image 00074_f.

    • An external image manipulation tool such as GIMP/Krita (Free) or Adobe Photoshop (Paid) If you choose to use an external tool please ensure your color mode is set to 8-bit, and that antialiasing doesn't change the colors on the edges of your mask.

  5. Fork this repository to your account using the "Fork" button in the top right

  6. Create a new branch from the master branch, and use your labelling tool of choice to label some images

  7. Open a pull request from your new branch to the master branch in the official repository to submit your changes!

  8. Visit the #comma-pencil channel on the comma.ai Discord for the latest news and chat about the project.

Image Viewing Tools

TODO:

  1. comma10kviewer #not available At The Moment
  2. comma10kreviewer

Beginner Tutorial

The Goal

Alt

Publication

comma10k is still a work in progress. For now, just cite the GitHub link. Once we reach 10k images, we'll release a paper, a train/test split, and a benchmark model.

For now, we are validating on images ending with "9.png" and are seeing a categorical cross entropy loss of 0.051. Can you beat this?

And it has been beaten with a CCE loss of 0.045, "comma10k-baseline" by YassineYousfi!

Can you beat that?

More Repositories

1

openpilot

openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
Python
40,192
star
2

research

dataset and code for 2016 paper "Learning a Driving Simulator"
Python
4,105
star
3

neo

comma neo research platform
1,627
star
4

opendbc

democratize access to car decoder rings
C++
1,393
star
5

panda

code powering the comma.ai panda
C
1,340
star
6

speedchallenge

The comma.ai Speed Prediction Challenge!
784
star
7

calib_challenge

The comma.ai Calibration Challenge!
Python
780
star
8

laika

Simple Python GNSS processing library
Python
647
star
9

comma2k19

A driving dataset for the development and validation of fused pose estimators and mapping algorithms
Jupyter Notebook
572
star
10

rednose

Kalman filter library
Python
297
star
11

commavq

commaVQ is a dataset of compressed driving video
Jupyter Notebook
291
star
12

cereal

capnp struct definitions and messaging used in comma ecosystem
Cap'n Proto
157
star
13

cabana

CAN visualizer and DBC maker
JavaScript
154
star
14

chffrplus

open source dashcam software
C
133
star
15

eon-neos

Operating System for your comma two and EON
Python
122
star
16

connect

comma connect PWA
JavaScript
108
star
17

commacoloring

you like coloring books?
JavaScript
101
star
18

body

firmware for the comma body robotics dev kit
C
56
star
19

chffr-api

API to access chffr data!
JavaScript
51
star
20

monitoring

The comma.ai Driver Monitoring Challenge!
51
star
21

openpilot-apks

The source code for the APK that runs inside openpilot.
JavaScript
47
star
22

pandajs

JavaScript
46
star
23

agnos

the operating system for your comma 3/3X
Python
39
star
24

depth10k

10k images for unsupervised depthnets
HTML
37
star
25

agnos-builder

Build AGNOS, the operating system for your comma 3/3X
Python
32
star
26

eon-neos-builder

Build NEOS, the operating system for your EON
C
27
star
27

comma-steering-control

Jupyter Notebook
25
star
28

entium

A helper for converting entwine tile data into cesium tiles
Python
21
star
29

connect-app

comma Connect Mobile App
JavaScript
21
star
30

trafficlights

Simple neural network to recognize the color of traffic lights
Jupyter Notebook
20
star
31

panda-artifacts

Releases of panda code.
Python
16
star
32

eon-neos-leeco

Operating System for your EON Gold
Shell
13
star
33

android_kernel_comma_msm8996

C
12
star
34

comma-x-native

X UI Library for React Native
JavaScript
12
star
35

vidutil.js

Decode H.264 and HEVC bitstreams in the browser using FFmpeg and WebAssembly
C
10
star
36

log_reader_js

Javascript implementation of the capnp log reader
JavaScript
10
star
37

android_device_oneplus_oneplus3

upstream: https://github.com/sultanxda/android_device_oneplus_oneplus3
C
8
star
38

gnss-data

Shell
8
star
39

agnos-kernel-sdm845

Kernel for the SDM845 modules
C
8
star
40

usr

usr directory from NEOS
Python
8
star
41

jobs

work @ comma.ai
8
star
42

new-connect

a rewrite of comma connect
TypeScript
8
star
43

android_kernel_leeco_msm8996

upstream: https://github.com/LineageOS/android_kernel_leeco_msm8996/commits/cm-13.0
C
6
star
44

android_system_core

upstream: https://github.com/CyanogenMod/android_system_core
C++
6
star
45

gnss-data-alt

Shell
5
star
46

android_vendor_oneplus_oneplus3

Makefile
5
star
47

android_frameworks_base

upstream: https://github.com/CyanogenMod/android_frameworks_base
Java
5
star
48

comma-api

JavaScript
5
star
49

android_build

upstream: https://github.com/cyanogenmod/android_build
Makefile
5
star
50

flash

JavaScript
5
star
51

panda_jungle

Code powering the Panda Jungle debug board
C
4
star
52

can-message

JavaScript
4
star
53

openpilot-pyextra

Python
4
star
54

tipsi-stripe

Fork of tipsi-stripe removing Android firebase dependency
JavaScript
4
star
55

android_system_extras_su

upstream: https://github.com/CyanogenMod/android_system_extras_su
C
3
star
56

android_packages_apps_NEOSSetup

JavaScript
3
star
57

my-comma-auth

shared auth utils for my.comma.ai apps (explorer, cabana)
JavaScript
3
star
58

tensorflow-autodetect

Automatically install the cpu or gpu version of Tensorflow
Python
3
star
59

cabana-issues

Public issue tracker for https://cabana.comma.ai
3
star
60

android_packages_apps_Settings

upstream: https://github.com/CyanogenMod/android_packages_apps_Settings
Java
3
star
61

qtlocation

C++
2
star
62

gnss-data-hourly

Shell
2
star
63

android

upstream: https://github.com/CyanogenMod/android -b cm-13.0
2
star
64

android_kernel_oneplus_msm8996

upstream: https://github.com/CyanogenMod/android_kernel_oneplus_msm8996
C
2
star
65

apkpatch

generates and applies efficient patch files to whole apks
Java
2
star
66

android_frameworks_opt_net_wifi

upstream: https://github.com/CyanogenMod/android_frameworks_opt_net_wifi
Java
2
star
67

android_packages_inputmethods_LatinIME

upstream: https://github.com/CyanogenMod/android_packages_inputmethods_LatinIME
Java
2
star
68

slurm-builder

Shell
1
star
69

android_hardware_quectel

Prebuilt RIL binaries for Quectel modems
Makefile
1
star
70

android_frameworks_opt_telephony

upstream: https://github.com/CyanogenMod/android_frameworks_opt_telephony
Java
1
star
71

android_device_oppo_common

upstream: https://github.com/CyanogenMod/android_device_oppo_common
Java
1
star
72

android_vendor_cm

upstream: https://github.com/CyanogenMod/android_vendor_cm
CSS
1
star
73

opencv-python-builder

Dockerfile
1
star
74

android_packages_apps_Bluetooth

upstream: https://github.com/CyanogenMod/android_packages_apps_Bluetooth
Java
1
star