Comments (2)
The code is for bilinear upsampling. In the early versions of pytorch, upsampling is aligned to the corners, which will actually cause pixel misalignment. Therefore, I made my own version of bilinear upsampling by using "fill_up_weights" and "ConvTranspose2d". It has been resolved in the current pytorch. PyTorch documentation also has some explanation: https://pytorch.org/docs/stable/nn.html?highlight=bilinear#torch.nn.Upsample.
from drn.
So, the weight which named as up.weight is useless? In the inference state, could be the ConvTranspose2d operation replaced with the resize operation with the bilinear kernel?
from drn.
Related Issues (20)
- how to do Object Localization on imagenet ? Can you share the code?
- KeyError: 'epoch' HOT 1
- Drivable Area baseline model BDD100k
- What is the "score" while training?
- mIOU isn't working? HOT 2
- Can't access model files on princeton site HOT 7
- Drn-c model
- There is a convolution layer with kernel_size=1 and stride=2. HOT 1
- How to calculate pixel accuracy?
- RuntimeError: CUDA error: out of memory for "DRN-D-105" while testing HOT 5
- After running the program on ubuntu14, the program becomes a disk sleep state and cannot be killed.
- [Errno 111] Connection refused HOT 1
- Upload pretrained DRN models as they no longer seem available on the Princeton website HOT 2
- Does the weight(drn_d_105-12b40979.pth) only train on ImageNet? HOT 1
- drn_a_50 missing keys when testing HOT 1
- None testing mIOU HOT 1
- NLLLoss cant work
- how to compute AP, MIOU?
- 运行时的一些问题
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 drn.