Awesome
Google AI Open Images - Object Detection Track: Open Solution
This is an open solution to the Google AI Open Images - Object Detection Track :smiley:
More competitions :sparkler:
Check collection of public projects :gift:, where you can find multiple Kaggle competitions with code, experiments and outputs.
Our goals
We are building entirely open solution to this competition. Specifically:
- Learning from the process - updates about new ideas, code and experiments is the best way to learn data science. Our activity is especially useful for people who wants to enter the competition, but lack appropriate experience.
- Encourage more Kagglers to start working on this competition.
- Deliver open source solution with no strings attached. Code is available on our GitHub repository :computer:. This solution should establish solid benchmark, as well as provide good base for your custom ideas and experiments. We care about clean code :smiley:
- We are opening our experiments as well: everybody can have live preview on our experiments, parameters, code, etc. Check: Google-AI-Object-Detection-Challenge :chart_with_upwards_trend: and images below:
UNet training monitor :bar_chart: | Predicted bounding boxes :bar_chart: |
---|---|
Disclaimer
In this open source solution you will find references to the neptune.ml. It is free platform for community Users, which we use daily to keep track of our experiments. Please note that using neptune.ml is not necessary to proceed with this solution. You may run it as plain Python script :snake:.
How to start?
Learn about our solutions
- Check Kaggle forum and participate in the discussions.
- Check our Wiki pages :dolphin:, where we describe our work. Below are link to specific solutions:
link to code | link to description |
---|---|
solution-1 | palm-tree :palm_tree: |
Dataset for this competition
This competition is special, because it used Open Images Dataset V4, which is quite large: >1.8M
images and >0.5TB
:astonished: To make it more approachable, we are hosting entire dataset in the neptune's public directory :sunglasses:. You can use this dataset in neptune.ml with no additional setup :+1:.
Start experimenting with ready-to-use code
You can jump start your participation in the competition by using our starter pack. Installation instruction below will guide you through the setup.
Installation
Fast Track
- Clone repository, install requirements (check _requirements.txt)
pip3 install -r requirements.txt
- Register to the neptune.ml (if you wish to use it) and create your project, for example Google-AI-Object-Detection-Challenge.
- Train RetinaNet:
:hamster:
neptune send --worker m-4p100 \
--environment pytorch-0.3.1-gpu-py3 \
--config configs/neptune.yaml \
main.py train --pipeline_name retinanet
:trident:
neptune run main.py train --pipeline_name retinanet
:snake:
python main.py -- train --pipeline_name retinanet
- Evaluate/Predict RetinaNet:
Note in case of memory trouble go to neptune.yaml
and change batch_size_inference: 1
:hamster:
With cloud environment you need to change the experiment directory to the one that you have just trained. Let's assume that your experiment id was GAI-14
. You should go to neptune.yaml
and change:
experiment_dir: /output/experiment
clone_experiment_dir_from: /input/GAI-14/output/experiment
neptune send --worker m-4p100 \
--environment pytorch-0.3.1-gpu-py3 \
--config configs/neptune.yaml \
--input /GAI-14 \
main.py evaluate_predict --pipeline_name retinanet --chunk_size 100
:trident:
neptune run main.py train --pipeline_name retinanet --chunk_size 100
:snake:
python main.py -- train --pipeline_name retinanet --chunk_size 100
Get involved
You are welcome to contribute your code and ideas to this open solution. To get started:
- Check competition project on GitHub to see what we are working on right now.
- Express your interest in particular task by writing comment in this task, or by creating new one with your fresh idea.
- We will get back to you quickly in order to start working together.
- Check CONTRIBUTING for some more information.
User support
There are several ways to seek help:
- Kaggle discussion is our primary way of communication.
- Read project's Wiki, where we publish descriptions about the code, pipelines and supporting tools such as neptune.ml.
- Submit an issue directly in this repo.