Comments (6)
It just converts from a single value (0/1) to a matrix which contains spatial information. The value in the matrix is multiplied by the single value.
from advsemiseg.
thanks @John1231983 for explaining. close for now if there is no further issue.
from advsemiseg.
since" ignore_mask_remain = np.zeros(D_out_sigmoid.shape).astype(np.bool)" ,so is the result of make_D_label is determined by gt_label?gt_label is 1 so D_label is a tensor all 1?gt_label is 0 so D_label is a tensor all 0?If it's true,so what's the meaning of ignore_mask_remain?
from advsemiseg.
from advsemiseg.
yeah it's actually all 0. We experimented with different masking loss for the adversarial loss on the unlabeled data, and in the end, we found that the unmasked version is the best. Sorry for the confusion. Will modify the code in the near future for better readability.
from advsemiseg.
Thanks for your reply.Your work is very interesting~
from advsemiseg.
Related Issues (20)
- Question about evaluation scheme HOT 1
- how to draw a loss curve?
- Some evaluation questions? HOT 2
- Can't recreate results for SL
- loss_semi < = 0.002 HOT 4
- IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed HOT 1
- RuntimeError
- TypeError: 'range' object does not support item assignment HOT 2
- About dataset
- all losses are NaN
- Why there are two semi-supervisory control parameters: SEMI_START=5000,,,,,,,SEMI_START_ADV=0 HOT 1
- When loading model parameters during training, the program has been stuck without response
- Problem in deeplab model
- loss_ce gradually rises after falling
- Not able to reach pre-trained models HOT 2
- 关于5000次迭代前的训练 HOT 2
- Facing Issue for running Adversarial Semi-Segmentation code on Custom dataset or CityScapes dataset
- Quenstion on Loss
- Questions about evaluate_voc.py HOT 1
- Question about the Lce
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 advsemiseg.