Coder Social home page Coder Social logo

project4--garbage-sorting's Introduction

project4--Garbage-sorting

Huawei cloud artificial intelligence competition · Garbage sorting challenge cup

**(*The number of participants is 2,611

our ranking32score0.95104

Description: The task of the competition is to classify garbage pictures, that is, first identify the categories of items in garbage pictures (such as cans, peel, etc.), then query the garbage classification rules, output the items in the garbage pictures belong to recyclables, kitchen waste, harmful garbage and other garbage

� In addition to the 542M data set on the official website, we used the crawler technology to crawl 666M images online

� Enhancement of datasets

� My classmates and I tried many Backbone, like ResNet, SENet

� Some training tricks were used. Also, multimodel fusion


Introduction

pytorch: 1.1.0 py3.6_cuda9.0.176_cudnn7.5.1_0

torchvision: 0.3.0 py36_cu9.0.176_1


under the garbage_classify folder:

1569928967022

  • data_augment.py---------datasets augmentation

  • garbage_classify_rule.json--------training set label file

  • official_train_data-------The official training set

  • additional_train_data.zip---------Images crawled with python crawlers,Because the number of pictures provided by the official website is not enough


Follow these steps:

  1. under the src_torch/utils directory:
python img_dataset_process.py

note:

Change these two paths twice:the path of official_train_data and the path of additional_train_data

and then both of these paths have to run twice

1569929278001

  1. under the src_torch directory:
python train.py

1569930729586

  1. under the src_torch directory:

    python test.py
    

    In this competition,our score:0.95104,ranking:32

1569931076702

project4--garbage-sorting's People

Contributors

xr0927 avatar

Watchers

James Cloos 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.