Code Monkey home page Code Monkey logo

huaweiyun_garbage_classify__learning's Introduction

Huaweiyun Garbage Classify Learning

The topic was from huawei cloud garbage classification competition. To learn how to use pytorch and test the effect of the backbone(Resnet, ResNext, Se_ResNext, etc).

The project is only for learning, and i'm have not paticipate in that competition.

Dataset

In order to better experience the learning process, I also extended the dataset by downloading pictures of corresponding categories at Google and Baidu.

raw dataset

raw_dataset_cnt classes

mydataset

I used some models to overfit the original training data, and then used those models to distinguish the new additions. ext_data_cnt and the first version of mydataset ext_data_cnt And then there are a lot of problems with the data set that haven't been solved very well, so I'll offer both the original data set and my data set.

Models

The model was finally used Se_ResNext101_64x4d pretrained in imagenet.

For better performance, i alos use CBAM and FocalLoss Module to help training.

TODOS

  • feature extractor
  • organize the code
  • test model

requirements

Results

Since the equipment I can use is limited, the test data I conducted are for reference only!

Model Train Acc Val Acc Test Acc
se_resnext101_32x4d + ce 0.9825 0.9005
se_resnext101_32x4d + fc 0.9920 0.8986
se_resnext101_32x4d + cbam + fc 0.9993 0.9032 0.9005

se_resnext101_32x4d + fc focalloss_train

se_resnext101_32x4d + cbam + fc cbam_focalloss_train

huaweiyun_garbage_classify__learning's People

Contributors

x670783915 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

huaweiyun_garbage_classify__learning's Issues

Unable to download the dataset

Hi,

I am not able to download the dataset from your links.

The raw_dataset(garbage_classify_v2.zip) gives me this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0000018479E1E9D884C7CBF4C6390A39</RequestId>
<HostId>
KBzjsE+4b6fFdzf/uFxeECLmBWYi3p5G90KyOFrDQuPchieGy8wUnyo+PdL9rY64
</HostId>
</Error>

while I am not able to start the download from BaiduYun (maybe it is because I don't know Chinese).

Is it possible to upload the dataset on Google Drive, Dropbox, Mega, Kaggle or whatever platform?

Thank you a lot.

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.