Giter Club home page Giter Club logo

cmt_cnn-meet-vision-transformer's Introduction

Hi 👋, I'm Willie

  • 🌱 I’m currently learning Deep Learning、Computer Vision、PyTorch...etc

Languages and Tools:

c cplusplus docker linux matlab opencv python pytorch scikit_learn



cmt_cnn-meet-vision-transformer's People

Contributors

wilile26811249 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cmt_cnn-meet-vision-transformer's Issues

loss is "nan"

Actually, in your code, even the first training loss is nan. How could you "loss.backward()"? Besides, the output of your net is also "nan".

Nan Loss Values

Why am I getting nan values in val loss, what could be the issue?

result = x + self.conv2(self.dwconv(self.conv1(x)))

Isn't The code"result = x + self.conv2(self.dwconv(self.conv1(x)))" in module class IRFFN(nn.Module) of cmt_module.py "result = self.conv2(self.dwconv(self.conv1(x))+self.conv1(x))" according to the paper "CMT: Convolutional Neural Networks Meet Vision Transformers"?

weight initialization

Hello, dear author

I set up a random seed to run the network you wrote, but the training results of the two runs are different. Is there any randomness in your weight initialization

loss问题

epoch为1时loss就已经显示为nan,top1只有10%左右

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.