Comments (7)
In the file of 'configs/latest.yaml', recon_s_w and recon_f_w are set 0, this is strange. Are the two reconstruction loss not used during training?
from dg-net.
@shuxjweb in the trainer you can check that at each iteration after several thousands iters the weights of these losses are increased up to a certain weight
from dg-net.
Hi @juliendenize ,
Sorry for the late response.
Yes. We detached the id embedding to prevent the gradient to E_appearance, which may compromise the re-id performance. The gradient of loss_gen_recon_f_a
mainly works for optimising the decoder.
from dg-net.
Hi @shuxjweb
Sorry for the late reply. Actually, we use the losses in one warm-up manner., as @juliendenize mentioned.
from dg-net.
@layumi thank you for your answer. Indeed, I tried to remove the detach function and the GAN collapsed, so I get why you did that and it is truely inspiring. However, I don't see how the gradient of loss_gen_recon_f_a
would optimize the decoder because both f_a_recon
and f_a
are detached.
from dg-net.
Thanks. @juliendenize Yes. You are right.
The gradient of loss_gen_recon_f_a
would not optimize the decoder, due to the detach
. I think I just left the api for ablation study two years ago.
from dg-net.
Thank you for your answers and your work
from dg-net.
Related Issues (20)
- Train fp16 interrupt HOT 3
- Change the data set to train HOT 3
- doubt about a loss in the ‘gen_update’ HOT 2
- DG-Net_Trainer类的forward函数的一个疑问 HOT 1
- 如何采用训练好的模型去生成图片 HOT 1
- How to test accuracy. HOT 1
- in trainer.py /gen_update(), i cannot understand "encoder is tuned, input is fixed" and "encoder is fixed, input is tuned" HOT 1
- Doubt about dis_opt and gen_opt HOT 2
- How to use DG-Net for vehicle reid? HOT 2
- test_folder HOT 1
- Out of memory error while training the model HOT 1
- when I run train.py, print there error message. Can you help to solve the issue? Thank you ! HOT 1
- 关于inception score HOT 1
- 关于FID计算 HOT 4
- IndexError:Dimension out of range(excepted to be in range of [-1,0],but got 1) HOT 4
- how does two different networks extract appearance and clothing separately?
- appearance code and structure code HOT 1
- online feeding and identity supervision HOT 3
- test_2label报错 yaml.load()缺少 loader HOT 2
- why detach the gradient of appearance codes? HOT 4
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 dg-net.