tensorforce  by tensorforce

TensorFlow library for reinforcement learning (not maintained)

created 8 years ago
3,315 stars

Top 15.0% 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

1 day

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

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of Artificial Intelligence: A Modern Approach; Research Director at Google), Aravind Srinivas Aravind Srinivas(Cofounder of Perplexity), and
45 more.

tensorflow by tensorflow

0.1%
191k
Open-source ML framework
created 9 years ago
updated 13 hours ago
Feedback? Help us improve.