-
Notifications
You must be signed in to change notification settings - Fork 2
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
Tape not deleted #3
Comments
@asokraju Did you mean to change the code to below? def action_gradient(self, input_state, input_actions): |
I can't seem to notice any changes in the code above. Can you please mark the differences. |
I meant that I forgot to delete the variable tape, after using it. Not
delete the word tape in tape_a.
…On Sat, Jan 16, 2021 at 12:43 PM Radhika ***@***.***> wrote:
[image: image]
<https://user-images.githubusercontent.com/56536997/104818830-f5892a80-584f-11eb-8e61-47cac84efa8c.png>
Changing the above code to below:
[image: image]
<https://user-images.githubusercontent.com/56536997/104818895-557fd100-5850-11eb-8b38-cb39bc7db5fa.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFM53A5BLQ2355TQL32UCELS2HF2VANCNFSM4WBU6UMQ>
.
--
________________________________________________
Krishna Chaitanya Kosaraju, PhD
Department of Electrical Engineering
University of Notre Dame, Indiana, US
|
In the Critic Class, after accessing the gradients in
action_gradient
method in lines 150-155using
GradientTape
withwatch_accessed_variables=False
, thetape_a
is not deleted. It may cause undesirable behaviors.The text was updated successfully, but these errors were encountered: