-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question #127
Comments
Could you please pull the most recent version of this package or try: pip install torch-encoding --upgrade |
In the table, EncNet_ResNet50_ADE achieves 80.1 pixAcc and 41.5 mIoU (https://hangzhang.org/PyTorch-Encoding/experiments/segmentation.html). However, with more epochs (160 epochs) and much larger input size (base_size 608, crop_size 576), the corresponding log file shows it obtains 78.0 pixAcc and 40.2 mIoU lower than the results reported both in the table and paper. |
|
For the command reproducing the results, please click the |
the effectiveness of SyncBN |
SyncBN is different from standard BN or group BN, because the other method DO NOT compute across gpu. I don't think syncBN is helpful for batchsize > 16, such as imagenet 2012 training. |
ablation study |
Hi @qiulesun , thanks for interest in this work. I do have a table in the paper supplementary material for benchmarking SyncBN on Pascal Context dataset:
Fixed BN means using ImageNet pretrained mean and variance. Note that: fixed BN won't work for ADE20K dataset due to large learning rate. |
supplementary material |
The supplementary material consisting of some basic information and experimental studies was provided during the double blind review, but it is not included in the final copy due to not being polished in the writting. I can send you a copy, if you could provide an email address. |
Thank you! My email address is qiulesun@163.com. This paper (http://bzhou.ie.cuhk.edu.hk/publication/ADE20K_IJCV.pdf) also did the ablation study about various normalization, i,e,. Synchronized BN, Unsynchronized BN and Frozen BN. |
setting of workers
|
|
trivial question
|
The background IoU is considered as 0. Then the mIoU over 60 classes is equal to |
It is an awesome and developing repo., containing more SOTA methods. Thank you for your consideration and I am looking forward to your reply. |
I meet the same error with you ,how do you solve it? Just to get the latest torch-encoding cannot fix it |
I use the released code without problem before updating. Now, I notice that the codes are updated newly. So I can not wait to try it, and successfully run the python setup.py install. Then when I run the import encoding, I get the error like this.
>>> import encoding
Traceback (most recent call last):
File "", line 1, in
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/init.py", line 13, in
from . import nn, functions, dilated, parallel, utils, models, datasets, optimizer
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/nn/init.py", line 12, in
from .encoding import *
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/nn/encoding.py", line 18, in
from ..functions import scaled_l2, aggregate, pairwise_cosine
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/functions/init.py", line 2, in
from .encoding import *
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/functions/encoding.py", line 14, in
from .. import lib
File "/media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/lib/init.py", line 25, in
], build_directory=gpu_path, verbose=False)
File "/usr/local/anaconda3/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 494, in load
with_cuda=with_cuda)
File "/usr/local/anaconda3/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 670, in _jit_compile
return _import_module_from_library(name, build_directory)
File "/usr/local/anaconda3/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 753, in _import_module_from_library
return imp.load_module(module_name, file, path, description)
File "/usr/local/anaconda3/lib/python3.6/imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "/usr/local/anaconda3/lib/python3.6/imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: /media/rudycv/SSD500G/pytorch_dir/PyTorch-Encoding-Updated/PyTorch-Encoding/encoding/lib/gpu/enclib_gpu.so: undefined symbol: _ZN2at4cuda20getCurrentCUDAStreamEv
The text was updated successfully, but these errors were encountered: