Giter VIP home page Giter VIP logo

ucc-ai-quest-2023's Introduction

UCC-AI-QUEST-2023

Cork is blessed with breathtaking landscapes and serene greenery. This year, UCC AI Quest will focus on stunning aerial images of a high-resolution camera to recognise vegetation patches in Irish natural places... It includes the release of a new dataset of realistic drone images for benchmarking semantic segmentation from various above ground levels.

image

Source: competition page

This repository contains the solution of team FSGWL (i don't know what it stands for lmao) for the competition.


image Quick access to the inference notebook: Open In Colab

By the way, we are one of the teams that achieved top places in the leaderboard, so feel free to ask us anything about the competition. The slides for the presentation can be found here and the technical report can be found here.

Install dependencies

Using conda, recommend mamba for faster solving time

conda env create -f environment.yml
conda activate ucc

Setup data

By downloading the data from the competition, you agree to the competition's terms and conditions.

Unzip *.zip in data folder so it has the following structure

data/public/img/train
data/public/img/valid
data/public/ann/train
data/public/ann/valid
data/private/img/test

To ensure the data and the environment is setup correctly, run the following command. It should run without error

CUDA_VISIBLE_DEVICES=0 PYTHONPATH=. pytest tests/pkg/classics/
CUDA_VISIBLE_DEVICES=0 PYTHONPATH=. pytest tests/pkg/transformers/

Usage

Join team using WanDB https://wandb.ai/ucc-quest-23/

$ ucc-train -c <config-file-path> -o <override_arg1>=<value1> <override_arg2>=<value2> ...

More details in notebooks/train.ipynb

$ ucc-pred -c <inference-config-file-path> -o <override_arg1>=<value1> <override_arg2>=<value2> ...

More details in notebooks/make_submission.ipynb

Some special flags:

  • global.find_lr=True : This will find the optimal learning rate for the config file, rerun when have minor change
  • global.wandb=True: In the training code include some visualize code using wandb, please not set this value to False in the trainning mode.

Prepare results for submission

After training, the checkpoints are stored in folder PROJECT_NAME/RUNID/checkpoints. We need to prepare a file named "results.json" for submission on CodaLab. Use the notebook notebook/make_submission.ipynb and replace the checkpoint path

there should be a file results.zip generated in the output directory. You should be able to submit the file results.zip now.

ucc-ai-quest-2023's People

Contributors

nhtlongcs avatar vantuan5644 avatar

Stargazers

GI avatar Nguyễn Hữu Hưng avatar Nguyễn Quí Vinh Quang avatar Hoang Lan Nguyen avatar Dat Nguyen avatar Minh-Khoi Pham avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vantuan5644

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.