Comments (2)
Hi, this error has already occured for some in the past #7 #2 , I asumme it occurs for certain numpy/torch versions but you can fix it by replacing the line by [self.relative_indices[:, :, 0].type(torch.long), self.relative_indices[:, :, 1].type(torch.long)]
.
from swin-transformer-pytorch.
Nice , solve my problem.hhh
from swin-transformer-pytorch.
Related Issues (20)
- Shifting attention-calculating windows HOT 2
- Training instance segmentation
- about result in imagenet
- replace detr' backbone with swin transformer
- Image Size HOT 1
- A question about qk_scale
- some questions for FeedForward
- if my image size:256*256,should I modify this model structure HOT 5
- deeplabv3 + swintransformer HOT 1
- apply to other dataset
- why the createmask function is 49*49? HOT 1
- Issues related to patch merging implementation HOT 1
- How to change Image size?
- Patch embedding part is missing
- is there a priority between drop out and patch norm?
- Runtime error HOT 1
- fail to run the code HOT 5
- about widow-size HOT 9
- Cyclic shift with masking HOT 4
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 swin-transformer-pytorch.