Giter Site home page Giter Site logo

cnn-ablation-study's Introduction

CNN-ablation-study

Objective

Data

Famous dataset used for vision learning, PETS. Images of varying sizes of different animals The images are named with the spesific animal's name and race(Model's target label), i.e cocker_spaniel_19.jpg

Dataloader

Resize

To save on time and computing, allowing to run multiple models on more epochs

bilde

Hypothesis: Squish will perform well on square images

Augmentation

Using crop and resizing method as mentioned before

Using btch_tfms to transform the pictures with a multiplier from 0 to 2.0

More info about augmentation, a good notebook is Introduction to Image Augmentation using fastai by Sanyam Bhutani

Dataloaders with augmentation multiplier with values 0.1, 0.5, 1.0, 1.5 and 2.0

Using Resnet18 with 10 epochs

bilde

After 5 epochs augmented data performs better

Architecture

Used Jeremy Howard's Notebook to find different architectures to try out

Limited which models avalible due to computing power and image size

Exploring the different levels of resnet-architectures, but including one model from different architecture bilde

Surprising how bad efficinet is performing

The ablation study

Resnet26

From the early testing, resnet26 seems to perform the best. Will be chosen as the benchmark.

Augmentation impact

Resize 80

bilde

bilde

Impact does not seem that significiant. Suspecting its due to image size, so limited how much levels of augmentation and change there is to be had

Resize 128 lowering architecture

bilde

Codeblocks are the same for the resnet18 model, with 'resnet26' replaced with 'resnet18'

resnet26 resnet18
bilde bilde

Dihedral

bilde

cnn-ablation-study's People

Contributors

eilertskram avatar

Watchers

 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.