Giter Site home page Giter Site logo

ggjy / hire-wave-mlp.pytorch Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 4.0 7.02 MB

Implementation of Hire-MLP: Vision MLP via Hierarchical Rearrangement and An Image Patch is a Wave: Phase-Aware Vision MLP.

Python 82.85% Dockerfile 0.01% Makefile 0.01% Batchfile 0.02% Shell 0.04% Cuda 7.61% C++ 9.41% C 0.07%

hire-wave-mlp.pytorch's People

Contributors

ggjy 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

Watchers

 avatar

hire-wave-mlp.pytorch's Issues

Difference of PATM between code and paper

In Section 3.2 of the paper, the authors say that "The final output of the block is the summation of these three branches." However, it seems that there are extra reweight and projection after the summation. Maybe this design is from CycleMLP, but not mentioned in the paper, which may cause confusion.

Single GPU WaveMLPT-dw training.

Hello,
I'm trying to run your repo with a small batch size of 2 on my modest RTX2080Su. A simple single run. No parallelism. I understand it is impractical to train the whole thing here. But I just want it to run for 1 epoch -- a small sanity check.

But trying to run the file on my machine, I receive the following 2 errors (2nd one of which is blocking):

  1. File train_wave.mlp On line 578: args does not have max_history. Perhaps this is an argument generated on author's machine after the first run. I choose to remove this argument from CheckpointSaver function. This seems to go through.

  2. File train_wave.mlp In function train_epoch On line 668: for some reason which I don't understand, the code passes in target.argmax(dims = -1) to the accuracy() function from timm.utils, instead of directly feeding it target. This causes an error. I instead just pass in target and the code works. Note, that contrastingly, in function validate on line 780 the code chooses to pass target and not the quirky argmax version.

It would really help to get some clarity on this peculiar behavior.

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.