Giter Club home page Giter Club logo

dl_landmark's Introduction

DL_Final_Project Landmark Classification

  • Use Kaggle notebook to train

Topic

  • Google Landmark Recognition 2021
  • Kaggle
  • image

Data Analyze

  • Data Amount : 1580470
  • Class of Data : 81313
  • image image image

Data Preprocess

  • 81313 Class choose the most amount of 30000 classes.
  • Each class choose 10 images ( random ) => 300000 Images
  • Advantage : Data Balance.
  • Disadvantage : Not Enough Data.
  • Batch Size: 64
  • Resize to image : [64, 64]

Model & Training Parameter

  • EfficientNet – B7

  • Parameters : 140,616,960

  • Loss : CrossEntropyLoss

  • Learning Rate : 1e-3

  • Optimizer : radam

  • Epoch : 20

  • image

  • ResNet 50

  • Parameters : 55,587,032

  • Loss : CrossEntropyLoss

  • Learning Rate : 1e-3

  • Optimizer : radam

  • Epoch : 20

  • image

Evaluation

GAP : Global average precision

  • image

  • N is the total number of predictions returned by the system, across all queries

  • M is the total number of queries with at least one sample from the training set visible in it (note that some queries may not depict samples)

  • P(i) is the precision at rank i. (example: consider rank 3 - we have already made 3 predictions, and 2 of them are correct. Then P(3) will be 2/3)

  • rel(i) denotes the relevance of prediciton i: it’s 1 if the i-th prediction is correct, and 0 otherwise

Result & Compare

image

Ranking

image

Summary & Discuss

  • Because of the training limit, we can’t train too many data and train more bigger model.
  • EfficientNet is more better than ResNet 50, But EfficientNet is more bigger than ResNet 50
  • The score in Leaderboard is not good.
  • We should think how to train more class and keep the data balanced

dl_landmark's People

Contributors

wzray07 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.