ggjy / hire-wave-mlp.pytorch Goto Github PK
View Code? Open in Web Editor NEWImplementation of Hire-MLP: Vision MLP via Hierarchical Rearrangement and An Image Patch is a Wave: Phase-Aware Vision MLP.
Implementation of Hire-MLP: Vision MLP via Hierarchical Rearrangement and An Image Patch is a Wave: Phase-Aware Vision MLP.
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):
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.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.