Swift4RL is an open source organization that explores new way of working with Reinforcement Learning combining Swift for TensorFlow (S4TF), Unity ML-Agents and possibly other environments in the future. Python has been the main programming language for data scientist for so long eventhough it has some drawbacks such as being slow, concurrency (GIL), and relying on native bindings for wiring Python with C++ and CUDA for resource intensive applications. On the other hand Swift for Tensorflow provides easy way to write custom ops, debugging, aesthetics and design which allows power users like AI researches to become productive. Another advantage of Swift is that it's been built for mobile devices. Therefore it is pretty lightweight. Wouldn't it be awesome to train baseline models by taking advantage of Unity's physic engine and deploy them on the real world mobile robots.
- Xcode 12
- macOS 10.15.6 and above
- Swift 5.3
- Unity Hub
- protoc-4.0.0-rc-2
- grpc_csharp_plugin
Install rake and xcodeproj as follows and then execute rake dependencies that will generate xcode project with deployment target macOS 10.15
[sudo] gem install rake
[sudo] gem install xcodeproj
rake dependencies