Skip to content

The topic was from huawei cloud garbage classification competition.

Notifications You must be signed in to change notification settings

x670783915/huaweiyun_garbage_classify__learning

Repository files navigation

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

About

The topic was from huawei cloud garbage classification competition.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages