Skip to content
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

running on highway_env is very slow #864

Closed
8 tasks
huang6668 opened this issue May 4, 2023 · 2 comments
Closed
8 tasks

running on highway_env is very slow #864

huang6668 opened this issue May 4, 2023 · 2 comments
Labels
question Further information is requested

Comments

@huang6668
Copy link

huang6668 commented May 4, 2023

  • I have marked all applicable categories:
    • exception-raising bug
    • RL algorithm bug
    • documentation request (i.e. "X is missing from the documentation.")
    • new feature request
  • I have visited the source website
  • I have searched through the issue tracker for duplicates
  • I have mentioned version numbers, operating system and environment, where applicable:
    import tianshou, gymnasium as gym, torch, numpy, sys
    print(tianshou.__version__, gym.__version__, torch.__version__, numpy.__version__, sys.version, sys.platform)

It appears that running DQN with tianshou on highway_env is very slow, while it doesn't have the same issue when running on CartPole.

@Trinkle23897
Copy link
Collaborator

It's expected because highway_env is not as fast as cartpole

@Trinkle23897 Trinkle23897 added the question Further information is requested label May 4, 2023
@huang6668
Copy link
Author

Thank you so much for your help! Your solution worked perfectly and I really appreciate your time and effort in helping me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants