Comments (10)
The ignore_mask
is to mark:
(1) ignored region provided in Pascal GT mask,
(2) padded region during pre-processing.
The mask == 254
is indeed our padded region (see here). It does not use value 255
for unlabeled images in the first place because we want to tell it from the officially provided 255
values in GT masks, which we should not leverage on unlabeled images.
from unimatch.
- Previously, we have re-run our Pascal experiments three times under each data partition. Below are the results and corresponding training logs. Not that, all results are obtained with ResNet-101 and training size 321. The reported results in our paper are listed in the last row for clear comparison. I think it is easy to reproduce them. Any PyTorch version >= 1.8 should be okay.
Pascal | 92 | 183 | 366 | 732 | 1464 | 1/16 | 1/8 | 1/4 |
---|---|---|---|---|---|---|---|---|
Run 1 | 75.46 | 76.75 | 78.51 | 79.98 | 80.78 | 76.91 | 77.46 | 77.54 |
Run 2 | 74.78 | 78.17 | 78.69 | 80.21 | 80.71 | 76.98 | 77.74 | 77.21 |
Run 3 | 74.74 | 77.69 | 78.42 | 79.48 | 81.01 | 77.15 | 77.05 | 77.44 |
Mean (std) | 74.99 (0.40) | 77.54 (0.72) | 78.54 (0.14) | 79.89 (0.37) | 80.83 (0.16) | 77.01 (0.12) | 77.42 (0.35) | 77.40 (0.17) |
Paper | 75.2 | 77.2 | 78.8 | 79.9 | 81.2 | 76.5 | 77.0 | 77.2 |
- Indeed, we have clarified the online hard example mining loss (OHEM) in the Cityscapes paragraph of Section 4.2 in our main paper. To use it, you can follow the Cityscapes config file.
from unimatch.
I will close this issue. Feel free to re-open it if you have any further questions.
from unimatch.
Hi, as your method in the paper, you also do experiments to use Dual-Stream Feature-Level Perturbations, can you tell me the details about it, using two different weak perturbations feeding to the network to get different Feature-Level perturbations results or just use one weak perturbations but return two after the encoder g. Thanks.
from unimatch.
It is the latter one as you described. We only use a single weak view, but perform twice random feature-level perturbations (Dropout) on it.
Briefly, the code should be changed from:
UniMatch/model/semseg/deeplabv3plus.py
Lines 45 to 51 in 7292bac
if need_fp:
outs = self._decode(torch.cat((c1, nn.Dropout2d(0.5)(c1), nn.Dropout2d(0.5)(c1))),
torch.cat((c4, nn.Dropout2d(0.5)(c4), nn.Dropout2d(0.5)(c4))))
outs = F.interpolate(outs, size=(h, w), mode="bilinear", align_corners=True)
out, out_fp1, out_fp2 = outs.chunk(3)
return out, out_fp1, out_fp2
Besides, the original loss function loss_u_w_fp
should also be averaged on the dual views of out_fp1
and out_fp2
.
from unimatch.
Okay, get it, thank you very much for your patient reply.
from unimatch.
Hi, Sorry to bother you again, Can you tell me the purpose of this code ignore_mask[mask == 254] = 255
and the role of the variable ignore_mask
in the code in semi.py
, thanks a lot.
from unimatch.
Hello, I noticed that the findings of Resnet101
spilt 1/6, 1/8, 1/4
, for U2PL in your work deviate from the original paper; have you recreated this result? (The first image is the outcome of your paper.)
from unimatch.
Please refer to Haochen-Wang409/U2PL#3 for detail.
from unimatch.
Soga! Thanks.
from unimatch.
Related Issues (20)
- 关于医学图像分割场景下的结果 HOT 4
- Image-level Perturbations in LEVIR HOT 1
- Pascal Voc 数据集的checkpoint HOT 19
- 关于特征空间扰动 HOT 4
- 关于第四页的Algorithm 1 HOT 2
- Question about the batch size
- Reproducability of PASCAL VOC HQ dataset results HOT 4
- 关于在Transformer系列模型使用 HOT 2
- Can't find Resnet 101
- How much memory its necessary? HOT 1
- 轻量级backbone及训练问题 HOT 1
- Question about crop size HOT 2
- 关于sliding_window HOT 1
- 复现训练代码
- 256×256的分辨率需要多少的GPU运行内存 HOT 1
- 评估和可视化代码 HOT 2
- color_map function in the utils.py file HOT 1
- Minor Typo HOT 1
- 关于split的问题 HOT 1
- 关于您该项目的实验 HOT 3
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 unimatch.