Comments (5)
谢谢建议~~ 这周末结束前我会update一下。到时候再告知你~
from ctkd.
好的~
from ctkd.
谢谢建议~~ 这周末结束前我会update一下。到时候再告知你~
还有一个问题. GRL
对 loss_div
里面的温度求导的时候.
loss_div = nn.KLDivLoss()(
F.log_softmax(y_s/T,dim=1),
F.softmax(y_t/T, dim=1)
) * T**2
是对 softmax
里面的温度求导呢? 还是对外面的系数(T**2)求导呢?
from ctkd.
代码已经fix。
GRL反向的时候是算的整体KL loss,所以是外面和里面的T都会涉及。
from ctkd.
代码已经fix。 GRL反向的时候是算的整体KL loss,所以是外面和里面的T都会涉及。
好的~ 谢谢~
from ctkd.
Related Issues (17)
- 交替优化机制和GRL梯度翻转层 HOT 5
- run_cifar_distill.sh HOT 5
- 关于KD的实现 HOT 3
- instant-T算法在哪 HOT 2
- DALI error HOT 15
- Failed to reproduce results on Imagenet. HOT 6
- 在yolov8上使用CTKD HOT 5
- temp在一次backward后,就从15.6212变成了nan HOT 10
- 作者您真的成功把CTKD应用到DKD上了吗 HOT 3
- 请问num_loops为什么设为10 HOT 2
- 您好,不好意思,我在您的代码中没有找到instance-τ的相关代码,请问可以分享一下吗? HOT 2
- Implementation of Instance_T HOT 5
- Acc results to read and report
- 请问怎么用于目标检测的呢? HOT 2
- 关于temp更新 HOT 14
- 出现nan值,一开始temp就是15.6212,之后就变成nan 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 ctkd.