Comments (3)
@isht7 the following line
pytorch-deeplab-resnet/deeplab_resnet.py
Line 193 in 9c05a9f
should be replaced with
self.interp3 = nn.Upsample(size=(int(outS(input_size)), int(outS(input_size))), mode='bilinear')
because i becomes a float after the division by 2 and UpsamplingBilinear2d has been deprecated in favor of Upsample with mode argument.
I don't know about older pytorch versions, but the current upsample implementation only takes ints as sizes.
from pytorch-deeplab-resnet.
Hi, this code has been tested on only Python 2. Please use python 2.
from pytorch-deeplab-resnet.
@isht7 my requirement is with python3. Anyway, I will go with @jj0mst idea.
Closing the issue for now.
Thanks.
from pytorch-deeplab-resnet.
Related Issues (20)
- Why is loss for multiple scales calculated in a strange way? HOT 2
- Arbitrary batch size still unimplemented?
- Training produces model generating blank segmentations HOT 6
- How do get car mask only? HOT 1
- how does iter_size work? HOT 1
- spatial sizes mismatch HOT 1
- the result? HOT 4
- Why change the image channel order after `cv2.imread`
- No Relu in the ClassifierModule HOT 1
- Frozen the statistics of BN? HOT 5
- The size of the prediction HOT 2
- Bad mIOU tested with provided model HOT 8
- problem of train.py HOT 1
- ASPP or LargeFOV? Should be 76.35%.
- docopt HOT 2
- network stucture issue
- read the ground truth of the pascal voc dataset
- where is the crfs implementation? HOT 1
- About image preprocessing HOT 2
- performance HOT 1
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 pytorch-deeplab-resnet.