-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Bug in TCTS model #943
Labels
Comments
Thanks for pointing out the bug! It is OK to remove the two lines. Would you mind sending a PR to fix this issue and become one of the contributors of Qlib |
TuozhenLiu
added a commit
to TuozhenLiu/qlib
that referenced
this issue
Apr 12, 2022
p.init_fore_model = False -> p.requires_grad = False
you-n-g
pushed a commit
that referenced
this issue
Apr 14, 2022
p.init_fore_model = False -> p.requires_grad = False
This issue is stale because it has been open for three months with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
qianyun210603
pushed a commit
to qianyun210603/qlib
that referenced
this issue
Mar 23, 2023
p.init_fore_model = False -> p.requires_grad = False
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
qlib/qlib/contrib/model/pytorch_tcts.py
Lines 146 to 148 in 4dc6693
Why set
p.init_fore_model = False
in line 148, this field makes no sense and not used in other place.I think it is a typo and should be
p.requires_grad = False
as theinit_fore_model
is not updated when trainingfore_model.
Since it is a typo but the result of TCTS should be unchanged because it only update the parameters in
fore_optimizer
.The text was updated successfully, but these errors were encountered: