Comments (12)
In the same environment, I got 0.5105 for single-scale.
Can you provide your scripts
, running log
and sha1sum of the model
?
from fastfcn.
The sha1sum of the model_best.pth.tar is: d581b28ac711fda74100529319d4853041ba0e2b
I use the script in your project:
#train
CUDA_VISIBLE_DEVICES=0,1,2,3 python train.py --dataset pcontext \
--model encnet --jpu --aux --se-loss \
--backbone resnet50 --checkname encnet_res50_pcontext
#test [single-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python test.py --dataset pcontext \
--model encnet --jpu --aux --se-loss \
--backbone resnet50 --resume {MODEL} --split val --mode testval
#test [multi-scale]
CUDA_VISIBLE_DEVICES=0,1,2,3 python test.py --dataset pcontext \
--model encnet --jpu --aux --se-loss \
--backbone resnet50 --resume {MODEL} --split val --mode testval --ms
The script didn't store the log and I'am re-training it again for saving the logs.
Maybe you can provide a Dockerfile to make sure we can get the same performance for verification.
from fastfcn.
Another issue about the FPS measurement.
I have tried the test_fps_params.py
for FPS measurement.
I use
CUDA_VISIBLE_DEVICES=0 python test_fps_params.py --dataset pcontext \
--model encnet --jpu --aux --se-loss \
--backbone resnet50
get the following results:
which is similar to your reported FPS.
But when I remove the --jpu
parameters in the same machine, I got:
where the result is 78 FPS, different from the 18.77 FPS. I wonder is there anything wrong in my experiment? Or you use different repo to report the FPS of the original EncNet?
from fastfcn.
- For the original EncNet, the script is
--model encnet --dilated --lateral
. - For the performance, can you first download the
pre-trained
model and verify its performence ? - I'll test the training script myself and tell you the result later.
from fastfcn.
@tonysy I realized that there's a bug in this version's code. This bug will be fixed soon.
from fastfcn.
I got a mIoU 51.27%
with the updated code.
Here's the log for training and evaluation.
from fastfcn.
Thanks for your update. While, I think the performance of EncNet reported in your work is not accurate, which is not fair for comparison. EncNet-Res50 is 51.0% and EncNet-Res101 is 54.1% reported by the author.
https://hangzhang.org/PyTorch-Encoding/experiments/segmentation.html
from fastfcn.
We cannot reproduce the performance reported in https://hangzhang.org/PyTorch-Encoding/experiments/segmentation.html. The performance I report is reproduced with the official code.
from fastfcn.
- @tonysy In https://hangzhang.org/PyTorch-Encoding/experiments/segmentation.html#test-pre-trained-model
The test script is in the experiments/segmentation/ folder. For evaluating the model (using MS), for example Encnet_ResNet50_PContext:
using MS may explain the performance gap.
- @wuhuikai Could you please further release the code to reproduce the results of Table 3, i.e., mIoU measured on 60 classes w/ background. Thanks in advance.
from fastfcn.
@HolmesShuan For 60 classes, see here.
from fastfcn.
Table 1 results should be higher than Table 3, right? But 51.2 (Table 3) is higher than 51.05 (Table 1). Did I miss anything?
from fastfcn.
@HolmesShuan Table 3 is evaluated with MS
.
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.