parasnaren / AI-Traffic-Light-Control

9 stars 0 forks source link

Errors with DDQN #1

Open TrinhTuanHung2021 opened 2 years ago

TrinhTuanHung2021 commented 2 years ago

Hello Your code is very useful. I can run DQN but I had errors with DDQN Could you show your TensorFlow version? Thank you

(DRL) C:\Users\PKNU\Desktop\AI-Traffic-Light-Control\DDQN>C:/Users/PKNU/anaconda3/envs/DRL/python.exe c:/Users/PKNU/Desktop/AI-Traffic-Light-Control/DDQN/training_main.py Traceback (most recent call last): File "c:/Users/PKNU/Desktop/AI-Traffic-Light-Control/DDQN/training_main.py", line 33, in
set_session(get_session()) File "c:\Users\PKNU\Desktop\AI-Traffic-Light-Control\DDQN\utils\networks.py", line 9, in get_session config.gpu_options.allow_growth = True AttributeError: '_FieldProperty' object has no attribute 'allow_growth'

TrinhTuanHung2021 commented 2 years ago

Now, I can run DDQN with tensorflow==1.13.1 keras==2.2.4 on Ubuntu

parasnaren commented 2 years ago

Thanks, can you create a merge request to update the same on the repo?

Thanks, Paras

On Thu, May 12, 2022 at 11:47 AM TrinhTuanHung2021 @.***> wrote:

Now, I can run DDQN with tensorflow==1.13.1 keras==2.2.4 on Ubuntu

— Reply to this email directly, view it on GitHub https://github.com/parasnaren/AI-Traffic-Light-Control/issues/1#issuecomment-1124572441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDTQUMJ3FFELKFHOEXWU5DVJSO6DANCNFSM5VQORDPA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TrinhTuanHung2021 commented 2 years ago

Hello. I do not know to create a merge request :(. I comment here so that anyone can follow and run this model. Thank you for sharing your code