Comments (11)
I cannot figure it out without further details. Maybe try to run it again : )
from fastfcn.
the error comes at this line: x = self.pretrained.conv1(x) in the base.py
If I replace self.pretrained.conv1 with a normal self.conv, it passes. What do you think could be the issue?
from fastfcn.
Can you provide the details of your environment and base.py
before and after modification?
from fastfcn.
I did not change any environment configuration and anything. I use Encnet with JPU and ResNet50. Just used the training sh script to change it...
from fastfcn.
My pytorch version is 1.2.0 and CUDA 9.0.
from fastfcn.
Please use PyTorch==1.0.x
from fastfcn.
I changed to Pytorch==1.0.0. The problem is still there. I did not change anything on the base.py...
When I change BatchNorm2d with torch.nn.BatchNorm2d, it passes. The issue is due to the batch norm layer. Any idea how could solve this?
from fastfcn.
Have you reinstalled encoding
after changing to 1.0.0
? If you did, then I think everything is the same as my environment :(
Ubuntu 16.04, Python 3.5, PyTorch 1.0.0, Cuda 9.0
from fastfcn.
I reinstalled encoding after changing to 1.0.0. It is a segmentation fault caused by using encoding.nn.BatchNorm2D.
from fastfcn.
I have no idea why there's a segmentation fault since you have the same configurations as mine :(
But for a reference, there's a solution in the original Encoding
repo.
from fastfcn.
@danxuhk The code in branch latest
is now ready, which uses official SyncBatchNorm
and can run on all OS with PyTorch>=1.1.0
.
from fastfcn.
Related Issues (20)
- Pre-training weights HOT 1
- What do I need change in code to run CPU testing without using CUDA
- What do I need change in code to run "test" script only on CPU without using CUDA?
- I can't successfully run train script on my dataset. HOT 1
- "IndexError: list index out of range" durinng "test" and "test single image" scipt HOT 3
- Need your suggestions HOT 5
- FastFCN has been supported by MMSegmentation. HOT 9
- In order to run this on a different dataset say CamVid what changes need to be made HOT 2
- RuntimeError: Failed downloading url https://hangzh.s3.amazonaws.com/encoding/models/resnet50-ebb6acbb.zip HOT 3
- RuntimeError: => no checkpoint found at 'encnet_jpu_res50_pcontext.pth.tar' HOT 1
- Why use seperable convolutions with dilation factor? HOT 1
- Run Time error when trying to train AdeK20 dataset HOT 1
- What batch size and learning rate would you recommend training for a 24gb GPU?
- Runtime error wile downloading pretrained model
- About the PContext precision results HOT 1
- 训练时出现 raise RuntimeError("{} is a zip archive (did you mean to use torch.jit.load()?)". HOT 5
- 不能下载 HOT 2
- about syncbn HOT 3
- latest版本训练的时候卡住 HOT 1
- How could I set "resume" while running test_single_image? HOT 8
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 fastfcn.