All Projects β†’ radekosmulski β†’ Whale

radekosmulski / Whale

Projects that are alternatives of or similar to Whale

Pytudes
Python programs, usually short, of considerable difficulty, to perfect particular skills.
Stars: ✭ 17,219 (+6600%)
Mutual labels:  jupyter-notebook
Amazing Python Scripts
πŸš€ Curated collection of Amazing Python scripts from Basics to Advance with automation task scripts.
Stars: ✭ 229 (-10.89%)
Mutual labels:  jupyter-notebook
Da Rnn
πŸ“ƒ **Unofficial** PyTorch Implementation of DA-RNN (arXiv:1704.02971)
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Keras Bert
A simple technique to integrate BERT from tf hub to keras
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Stock Analysis
Regression, Scrapers, and Visualization
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
2018 Daguan Competition
2018εΉ΄"达观杯"ζ–‡ζœ¬ζ™Ίθƒ½ε€„η†ζŒ‘ζˆ˜θ΅›-ι•Ώζ–‡ζœ¬εˆ†η±»-rank4
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Contextily
Context geo-tiles in Python
Stars: ✭ 254 (-1.17%)
Mutual labels:  jupyter-notebook
Place Recognition Using Autoencoders And Nn
Place recognition with WiFi fingerprints using Autoencoders and Neural Networks
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Sipmask
SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation (ECCV2020)
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Ssm
Bayesian learning and inference for state space models
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Learning To Reweight Examples
PyTorch Implementation of the paper Learning to Reweight Examples for Robust Deep Learning
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Spacy Notebooks
πŸ’« Jupyter notebooks for spaCy examples and tutorials
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Dl Imperial Maths
Code and assignment repository for the Imperial College Mathematics department Deep Learning course
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Football Crunching
Analysis and datasets about football (soccer)
Stars: ✭ 252 (-1.95%)
Mutual labels:  jupyter-notebook
Learntools
Tools and tests used in Kaggle Learn exercises
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Complete Python 3 Bootcamp
Course Files for Complete Python 3 Bootcamp Course on Udemy
Stars: ✭ 18,322 (+7029.18%)
Mutual labels:  jupyter-notebook
Causality
Stars: ✭ 252 (-1.95%)
Mutual labels:  jupyter-notebook
Numpy
Jupyter Notebook & Data Associated with my Tutorial video on the Python NumPy Library
Stars: ✭ 255 (-0.78%)
Mutual labels:  jupyter-notebook
Pytorch Cheatsheet
Check out improved:
Stars: ✭ 256 (-0.39%)
Mutual labels:  jupyter-notebook
Swa gaussian
Code repo for "A Simple Baseline for Bayesian Uncertainty in Deep Learning"
Stars: ✭ 252 (-1.95%)
Mutual labels:  jupyter-notebook

Humpback Whale Identification Competition Starter Pack

The code in this repo is all you need to make a first submission to the Humpback Whale Identification Competition. It uses the FastAi library release 1.0.36.post1 for anything up to point 7 in the Navigating through the repository list below (this is important - you are likely to encounter an error if you use any other version of the library). Subsequently I switch to 1.0.39.

For additional information please refer to discussion threads on Kaggle forums: classification, feature learning, detection.

Some people reported issues with running the first_submission notebook. If you encounter the issue, you should be okay to skip to the subsequent notebooks. The one that scores 0.760 on the LB is only_known_train.ipynb.

Making first submission

  1. Install the fastai library, specifically version 1.0.36.post1. The easiest way to do it is to follow the developer install as outlined in the README of the fastai repository. Once you perform the installation, navigate to the fastai directory and execute git checkout 1.0.36.post1. You can verify that this worked by executing the following inside jupyter notebook or a Python REPL:
import fastai
fastai.__version__
  1. Clone this repository. cd into data. Download competition data by running kaggle competitions download -c humpback-whale-identification. You might need to agree to competition rules on competition website if you get a 403.
  2. Create the train directory and extract files via running mkdir train && unzip train.zip -d train
  3. Do the same for test: mkdir test && unzip test.zip -d test
  4. Open first_submission.ipynb in jupyter notebook and run all cells.

Navigating through the repository

Here is the order in which I worked on the notebooks:

  1. first_submission - getting all the basics in place
  2. new_whale_detector - binary classifer known_whale / new_whale
  3. oversample - addressing class imbalance
  4. only_known_research - how to modify the architecture and what hyperparams to use
  5. only_known_train - training on full dataset
  6. resize - resize the images before training to free up CPU
  7. siamese network - a fully working prototype of a siamese network
  8. !!! Important !!! - to make use of some of the new functionality available in fast.ai at this point I switch to 1.0.39.
  9. fluke detection - train a model to draw bounding boxes surrounding flukes
  10. !!! Important !!! - here I switch to fastai master to incorporate a bug fix, will annotate with version once a new release comes out
  11. fluke detection redux - better results, less code, works with current fastai master
  12. extract bboxes - predicted bounding box extraction in images of specified size
  13. classification and metric learning - training the for predicting whale ids, places in top 7% of the competition
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].