Git Product home page Git Product logo

wheatdet's Introduction

Global-Wheat-Detection

kaggle - https://www.kaggle.com/c/global-wheat-detection

Description

  • ssd model
  • random rotate90 and other augmentation for train
  • wandb logger, used pytorch-lightning/pytorch, fp16

In the making(missed to do):

  • training on 5 folds(clustered by kmeans, previously reduced by PCA)
  • tta for test(inference)

Test results

in /test_output/viz

Submission score [email protected]:0.05

score: 0.6448

kaggle notebook - https://www.kaggle.com/heorgiibolotov/kernel1a17c2da7e

cut version of logs while training

Project structure

├── apex.sh              
├── eda.ipynb   
├── image_plot.py  
├── prepare_data.py  # invalid version 
├── requirements.txt  
├── submission.csv  
├── wandb
├── cp_data_from_hdd.sh  
├── engdata.py # invalid version
├── parse_data.py # invalid version
├── report         

├── retinaface    
  ├── box_utils.py  
  ├── data_augment.py
  ├── inference.py
  ├── make_submit.py
  ├── net.py
  ├── prior_box.py  
  ├── train.py
  ├── configs       
  ├── dataset.py       
  ├── __init__.py 
  ├── multibox_loss.py
  ├── network.py 
  ├── __pycache__   
  ├── utils.py
  
├── test_output
  ├── labels
  ├── viz
  
├── data
  ├── annotations            
  ├── test   
  ├── train.csv 
  ├── train_with_bbox
  ├── sample_submission.csv
  ├── train  
  ├── train.json
  ├── train_without_bbox

Usage

# step 1.(in this repo invalid version of the code)
!python engdata.py  

# step 2. 
!python -m retinaface.train -c retinaface/configs/2020-07-20.yaml

# step 3. 
!python -m retinaface.inference -i data/test -c retinaface/configs/2020-07-20.yaml -o test_output -w 2020-07-27/epoch=7.ckpt -v 

wheatdet's People

Contributors

heorhii-bolotov avatar

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.