Giter VIP home page Giter VIP logo

convit's Introduction

convit

This repo is to implement convit using MindSpore

Finish

convit.py -> 能够跑通main测试函数,推理结果与pytorch结果一致

TO DO

1、model.train 方式训练

2、pynative+混合编程训练

3、差异文档分析编写

更新日志

2022/10/9:

使用pthtockpt.py脚本,将pth模型转换为ckpt模型,并进行了精度推理测试

top1 acc: 0.72576
top5 acc: 0.9146

略低于论文中的精度,但认为可以通过调整训练参数

2022/10/8:

MLP层中,将

self.act = nn.GELU()

修改为

self.act = nn.GELU(approximate=False)

减小了与pytorch的误差

convit's People

Contributors

a1085728420 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.