tensorforce  by tensorforce

TensorFlow library for reinforcement learning (not maintained)

Created 8 years ago
3,316 stars

Top 14.6% on SourcePulse

GitHubView on GitHub
Project Summary

Tensorforce is a modular, TensorFlow-based library for applied reinforcement learning, designed for researchers and practitioners. It offers a flexible, component-based architecture that separates RL algorithms from environment interactions, enabling easier experimentation and deployment of custom RL agents.

How It Works

Tensorforce utilizes a component-based design, allowing users to mix and match various network layers, memory types, policy distributions, and optimizers. All RL logic is implemented within TensorFlow, creating portable computation graphs. This approach facilitates the integration of diverse RL algorithms and simplifies model deployment across different platforms.

Quick Start & Requirements

  • Installation: pip3 install tensorforce or pip3 install -e . from a cloned repository.
  • Prerequisites: Python 3. TensorFlow is a core dependency. Environment adapters may require additional packages (e.g., ale, gym, retro, vizdoom, carla). GPU usage is not always beneficial for RL and depends on the configuration.
  • Documentation: https://github.com/tensorforce/tensorforce

Highlighted Details

  • Supports a wide range of network layers (convolutional, recurrent, etc.) and architectures.
  • Offers various memory types (batch buffer, replay memory) and policy distributions (Bernoulli, Gaussian, etc.).
  • Includes multiple training objectives (policy gradient, value approximation) and optimizers (Adam, evolutionary).
  • Provides environment adapters for popular simulators like OpenAI Gym, CARLA, and ViZDoom.

Maintenance & Community

The project is not maintained any longer. It was primarily developed by Alexander Kuhnle, with earlier contributions from Michael Schaarschmidt and Kai Fricke. Parallel execution functionality was contributed by Jean Rabault and Vincent Belus. Community contact is available via Gitter.

Licensing & Compatibility

The project is available under a permissive license, allowing for commercial use and integration with closed-source applications.

Limitations & Caveats

Tensorflow installation on M1 Macs requires a workaround. The README explicitly states the project is "not maintained any longer," indicating a lack of ongoing development or support.

Health Check
Last Commit

1 year ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Starred by Evan Hubinger Evan Hubinger(Head of Alignment Stress-Testing at Anthropic), Jiayi Pan Jiayi Pan(Author of SWE-Gym; MTS at xAI), and
1 more.

rl by pytorch

0.4%
3k
PyTorch library for reinforcement learning research
Created 3 years ago
Updated 2 days ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Pawel Garbacki Pawel Garbacki(Cofounder of Fireworks AI), and
6 more.

tianshou by thu-ml

0.2%
9k
PyTorch RL library for algorithm development and application
Created 7 years ago
Updated 1 week ago
Feedback? Help us improve.