edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
942 stars 69 forks source link

Feature: MacOs Support #74

Closed visuallization closed 1 year ago

visuallization commented 1 year ago

Hey @edbeeching

I added macos support for stable baseline 3 wrapper: python examples/stable_baselines3_example.py --env_path=./examples/JumperHard/bin/JumperHard.app --speedup=8

I haven't had time yet to look into ray, sf and clean rl yet.

visuallization commented 1 year ago

Okay I got this working for:

It does not yet work properly for:

as rllib and sf do not support apple m1 gpu acceleration yet. Also see:

However it is quite likely that this will already work on older intel macs, but I can't confirm because I only have a m1.

edbeeching commented 1 year ago

This is great! Thank you

edbeeching commented 1 year ago

Feel free to merge if you are happy with it