Closed AhdHazim closed 2 weeks ago
Hi @AhdHazim ,
Based on the code snippet you provided, the issue you're experiencing appears to be related to TensorFlow rather than TFJS specifically. Please open a new issue under the TensorFlow repository.
Thank You!!
Hi,
Oh, Thank you for letting me know!
From: Shivam Mishra @.> Sent: 08 August 2024 18:13 To: tensorflow/tfjs @.> Cc: Sabr, Ohood @.>; Mention @.> Subject: Re: [tensorflow/tfjs] Convergence of Actor critic algorthim (Issue #8357)
[ATTENTION : Ce courriel provient de l'extérieur de l'ÉTS] Évitez de cliquer sur un lien ou d'ouvrir une pièce jointe si vous ne connaissez pas l'expéditeur du courriel. En cas de doute, veuillez SVP créer un billet Problème de courriel au GUShttps://gus.etsmtl.ca/c2atom/LoginAzure?landingPage=/portal-request-form/714d9e14-bc17-47b8-a0e6-e154184ecbc2 .
Hi @AhdHazimhttps://github.com/AhdHazim ,
Based on the code snippet you provided, the issue you're experiencing appears to be related to TensorFlow rather than TFJS specifically. Please open a new issue under the TensorFlowhttps://github.com/tensorflow/tensorflow/issues/new/choose repository.
Thank You!!
— Reply to this email directly, view it on GitHubhttps://github.com/tensorflow/tfjs/issues/8357#issuecomment-2276295013, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDSWQXZ3URO4WBDR2FJPZQLZQORLBAVCNFSM6AAAAABMEK2FP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGI4TKMBRGM. You are receiving this because you were mentioned.Message ID: @.***>
Sure, Kindly close this issue. For additional support related to TensorFlow.js please feel free to open a new issue.
Thank You!!
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
This issue was closed due to lack of activity after being marked stale for past 7 days.
Hello,
I am using the following actor critic agent, but it does not converge at all. Please could you help me with this matter. In the following the code and the results
` import numpy as np import tensorflow as tf import tensorflow.compat.v1 as tf import json
tf.disable_v2_behavior() tf.reset_default_graph() class A2CLSTM(object): def init( self, sess, n_actions, n_features, lr_a, lr_c, entropy_beta, batch_size=32 # Default batch size ): self.sess = sess self.n_actions = n_actions self.n_features = n_features self.lr_a = lr_a self.lr_c = lr_c self.entroy_beta = entropy_beta self.batch_size = batch_size # Set the batch size
`
For the learning rate, I have tried different values, and here is the most recent one: LRA =0.005 Learning Rate Actor =0.005 Learning Rate _Critic= 0.008 GAMMA = 0.9 ENTROY_BETA = 0.01