Skip to content
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

DANN训练无效问题 #2

Open
liuchangda-fio opened this issue Nov 10, 2023 · 0 comments
Open

DANN训练无效问题 #2

liuchangda-fio opened this issue Nov 10, 2023 · 0 comments

Comments

@liuchangda-fio
Copy link

东哥好,我使用DANN训练自己的问题时,其域分类精度一开始就是50%左右(transfer loss大约在0.7),并且一直维持在这个值,未曾有变化,感觉域分类器并没有很好的work,已调整过学习率、transfer_loss权重等参数,但均无改变。不知到应该怎么调整代码?
微信图片_20231110140322
部分输出如下:
Epoch [1/10] - T_Loss:2.7179, R_loss:2.016,D_loss:0.702,D_acc:50.117%
Val_Loss(MSE):2.262,Val_MAE:1.242,Val_R2:0.633
lr [0.0001]
Epoch [2/10] - T_Loss:2.5103, R_loss:1.803,D_loss:0.708,D_acc:45.898%
Val_Loss(MSE):1.774,Val_MAE:0.929,Val_R2:0.713
lr [0.0001]
Epoch [3/10] - T_Loss:1.9520, R_loss:1.252,D_loss:0.700,D_acc:49.336%
Val_Loss(MSE):1.301,Val_MAE:0.828,Val_R2:0.789
lr [0.0001]
Epoch [4/10] - T_Loss:1.9570, R_loss:1.255,D_loss:0.702,D_acc:48.945%
Val_Loss(MSE):1.319,Val_MAE:0.777,Val_R2:0.786
lr [0.0001]
Epoch [5/10] - T_Loss:1.6281, R_loss:0.927,D_loss:0.701,D_acc:48.398%
Val_Loss(MSE):1.368,Val_MAE:0.901,Val_R2:0.778
lr [0.0001]
Epoch [6/10] - T_Loss:1.4805, R_loss:0.779,D_loss:0.701,D_acc:47.474%
Val_Loss(MSE):1.161,Val_MAE:0.759,Val_R2:0.812
lr [0.0001]
Epoch [7/10] - T_Loss:1.3071, R_loss:0.607,D_loss:0.701,D_acc:48.737%
Val_Loss(MSE):1.031,Val_MAE:0.697,Val_R2:0.833
lr [0.0001]
Epoch [8/10] - T_Loss:1.3438, R_loss:0.643,D_loss:0.701,D_acc:46.276%
Val_Loss(MSE):1.019,Val_MAE:0.691,Val_R2:0.835
lr [0.0001]
Epoch [9/10] - T_Loss:1.2132, R_loss:0.513,D_loss:0.700,D_acc:47.826%
Val_Loss(MSE):1.019,Val_MAE:0.650,Val_R2:0.835
lr [0.0001]
Epoch [10/10] - T_Loss:1.1207, R_loss:0.421,D_loss:0.700,D_acc:48.333%
Val_Loss(MSE):0.911,Val_MAE:0.627,Val_R2:0.852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant