Coder Social home page Coder Social logo

huawei2020's Introduction

华为2020全球校园AI算法精英大赛 赛道b图像检索

比赛主页

链接

模型采用IBNnet以及EfficientNet

python环境:Python3.6.5
python依赖环境: pytorch 1.6.0+cu101 torchvision 0.7.0+cu101
训练数据位置../train_data/
测试数据位置../test_data_A/

文件说明

config文件夹里面是定义的初始参数
configs文件夹里面是不同模型的训练参数,对config文件的参数进行更新
datasets包含数据预处理过程以及dataloader创建过程
loss里面包含triplet loss以及acrface loss,本次比赛使用的tripletloss+smoothingsoftmax
model里面是定义的resnet_ibn_a, resnet_ibn_bi 以及seresnet_ibn_a模型
processor包含训练和预测代码
solver里面包含模型训练求解器,本次比赛采用的是SGD+Warmup
utils里面主要是对图片向量化之后的特征,进行reranking计算距离矩阵
ronghe.py主要是三折的 effb5以及ibn_a、ibn_b计算的距离矩阵进行融合

运行顺序

模型训练 python train.py --config_file configs/naic_round2_model_b.yml
模型推理 python test.py --config_file configs/naic_round2_model_b.yml
模型融合 python ronghe.py

成绩

初赛排名 rank6 决赛排名 rank9

huawei2020's People

Contributors

fuxinjiang avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

saulgoodenough

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.