We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/thatguy11325/stable-retro-firered/blob/master/pokemon.py
import os import time from utills import in_colab import retro SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) def main(): retro.data.Integrations.add_custom_path(SCRIPT_DIR) print("Game exists: ", "HotWheelsStuntTrackChallenge-GBAdvance" in retro.data.list_games(inttype=retro.data.Integrations.ALL)) env = retro.make("HotWheelsStuntTrackChallenge-GBAdvance", inttype=retro.data.Integrations.ALL, render_mode="human") env.reset() n_steps = 1000 start = time.time() for _ in range(n_steps): x = env.step(env.action_space.sample()) env.render() env.close() end = time.time() print(f"Stable Retro ran {n_steps} in {end-start} seconds or {n_steps / (end-start)} steps/second") if __name__ == "__main__": main()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/thatguy11325/stable-retro-firered/blob/master/pokemon.py
The text was updated successfully, but these errors were encountered: