araffin / learning-to-drive-in-5-minutes

Implementation of reinforcement learning approach to make a car learn to drive smoothly in minutes
https://towardsdatascience.com/learning-to-drive-smoothly-in-minutes-450a7cdb35f4
MIT License
287 stars 85 forks source link

Model taking 10 minutes to load on Windows? [question] #30

Open josiahcoad opened 4 years ago

josiahcoad commented 4 years ago

Hello, I am trying to run your code exactly as is (using your pretrained agent and vae) and the model takes ~10 minutes to load. I was just wondering if this was normal.

Code example

python enjoy.py --algo sac -vae vae-level-0-dim-32.pkl --exp-id 6 -n 2000

System Info Describe the characteristic of your environment:

Additional context Add any other context about the problem here.

araffin commented 4 years ago

Hello,

No, this is not normal, it should take only some seconds (once tensorflow is loaded). as in #29 what simulator are you using? and what is your OS?

josiahcoad commented 4 years ago

Thank you for your response! So on my MacOS the model loads very quickly... just Windows 10 it has issues (tried it on two different Windows 10 computers). I mentioned sim in #29

araffin commented 4 years ago

.. just Windows 10 it has issues (tried it on two different Windows 10 computers)

This was only tested on linux. I cannot give any guarantees for windows.