Giter VIP home page Giter VIP logo

k_labels_resnet50's Introduction

Annotation:

  • Framwork

    Pytorch

  • Dataset

    In this case, I wrote a script to divide VOC2012 dataset into three parts as train\validation\test,the proportion is 8:1:1.And each part hava a images directory and a tags.txt.The tags.txt record the image path and label.So you can use this file to batch load the input data.Paticularly,the label normally hava more than one tag refer to the Annonciation.xml which you can easily find in the VOC2012 dataset.(If necessary,email [email protected] for the script)

  • Model

    For generality,the offical code of ResNet model is too fussy.So i simpled a brief model only for ResNet-50.

    He Kaiming's paper:https://arxiv.org/abs/1512.03385
    Official code:https://github.com/tensorflow/models/blob/master/research/slim/nets/resnet_v2.py

  • Loss and Acuuracy for K-labels problem

    loss: built-in loss function torch.nn.MultiLabelSoftMarginLoss()
    accuracy:self defined in code.torch.nn.BCELoss is more recommended.But actually there no difference.(personal opinion...)

  • Result

    see out.txt (90.15% accuracy for only 20 epoch)

more details email [email protected]

k_labels_resnet50's People

Contributors

dssbxx avatar

Watchers

paper2code - bot 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.