Comments (3)
self.channel_reschedule() this module contains a LayerNorm which takes the input tensor of (B,N, C) in general vision task, image tensor shape is (BCHW), so you need to do permute channel dimension to last.
btw, layernorm has BCHW version, but it's slower.
from revcol.
self.channel_reschedule() this module contains a LayerNorm which takes the input tensor of (B,N, C) in general vision task, image tensor shape is (BCHW), so you need to do permute channel dimension to last.
btw, layernorm has BCHW version, but it's slower.
Thanks for your answer, I mean why is the code not directly written like this
x = x.permute(0, 3, 1, 2)
from revcol.
My bad, sorry.🤣
from revcol.
Related Issues (17)
- How to solve package [teREVCOLolor] missing message , thanks HOT 3
- 'tools/dist_train.sh' HOT 5
- Could you release the large model with DINO which was pre-trained on o365?
- Best checkpoint saving problem HOT 2
- Huggingface
- Code issue
- When will RevColv2 be released
- Hello, Could you provide the source code of the DINO model? Thank you so much.
- How to export onnx model in save_memory=True? HOT 1
- Any latency information to be reported? HOT 2
- 你好,请问模型架构中的STEM的全称是什么? HOT 1
- When will COCO model be released? HOT 3
- size mismatch testing revcol_tiny HOT 1
- Why not train on Cityscapes? HOT 1
- TypeError: main() takes 1 positional argument but 3 were given HOT 3
- 对于语义分割部分的疑问 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revcol.