Comments (3)
Hi @gaoshjjj
The input shape is the standard (B C H W)
. The repository is built on top of timm and the model can be integrated with any existing similar workflow.
Best,
from gcvit.
Thanks for your answer.I notice that the output shape is (B H W C), how can I transpose it to (B C H W), because I need compose GCVit with FPN.
from gcvit.
Hi @gaoshjjj ,
I see. We provide helper functions for converting to channel last (here) and channel first (here) formats. In your case, the conversion can be done using _to_channel_first(x)
to meet the downstream tasks requirements.
Best,
from gcvit.
Related Issues (20)
- Global query: wrong input transformation HOT 1
- training is slow HOT 5
- is there a large release, please ? HOT 1
- Reliable comparison with Swin: fixed window size HOT 1
- training hparam clarifications HOT 3
- x = x.reshape(B, 1, self.N, self.num_heads, self.dim_head).permute(0, 1, 3, 2, 4) reshape error!!!! HOT 3
- New third part implementation HOT 2
- Using timm gcvit models and getting errors when using resolution other than 224x224 HOT 2
- Backbone Feature Maps for One-Stage Detectors HOT 5
- Validate using public checkpoint, Accuracy extremely low HOT 4
- Is there any documentation to train a semantic segmentation model using a custom dataset? HOT 3
- Hi, Where can I download GC_ViT-B_384 pretrained weight ? HOT 6
- Third-Party JAX/Flax implementation HOT 2
- How to use "--input-size" properly? HOT 2
- Getting an error for the output shape for each stage in GC ViT
- Getting an error for the output shape for each stage in GC ViT HOT 1
- Shape errors in data loading when using train.py HOT 1
- Could anyone help me with the data loading process? HOT 1
- How to Visualize the global attention, as shown in Figure 1? HOT 3
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 gcvit.