معرفی شرکت ها


blobrl-0.1.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Reinforcement learning with pytorch
ویژگی مقدار
سیستم عامل -
نام فایل blobrl-0.1.3
نام blobrl
نسخه کتابخانه 0.1.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده french ai team
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/french-ai/reinforcement
آدرس اینترنتی https://pypi.org/project/blobrl/
مجوز Apache-2.0
BlobRL : Reinforcement Learning library with Pytorch ============ [![Pypi](https://img.shields.io/pypi/v/blobrl?color=blue&logo=pypi&style=for-the-badge)](https://pypi.org/project/blobrl/) [![Read the Docs](https://img.shields.io/readthedocs/blobrl?style=for-the-badge)](https://blobrl.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://img.shields.io/travis/french-ai/reinforcement/master.svg?=master&style=for-the-badge)](https://travis-ci.org/french-ai/reinforcement) [![CodeFactor](https://www.codefactor.io/repository/github/french-ai/reinforcement/badge?style=for-the-badge)](https://www.codefactor.io/repository/github/french-ai/reinforcement) [![Codecov](https://img.shields.io/codecov/c/github/french-ai/reinforcement?style=for-the-badge)](https://codecov.io/gh/french-ai/reinforcement) [![Discord](https://img.shields.io/badge/discord-chat-7289DA.svg?logo=Discord&style=for-the-badge)](https://discord.gg/f5MZP2K) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge)](https://github.com/french-ai/reinforcement/blob/master/LICENSE) BlobRl is a modular library for reinforcement learning which works on pytorch. ## Installation ### Pytorch For installing *pytorch* follow [Quick Start Locally](https://pytorch.org/) for your config. ### BlobRL Install blobrl - to use it: ```bash pip install blobrl ``` - to use it on notebook: ```bash pip install blobrl[notebook] ``` - to help development: ```bash pip install blobrl[dev] ``` ## Get Started ### Initialize environment ```python import gym env = gym.make("CartPole-v1") ``` ### Initialize agent ```python from blobrl.agents import AgentRandom action_space = env.action_space observation_space = env.observation_space agent = AgentRandom(observation_space=observation_space, action_space=action_space) ``` ### Train Create Trainer ```python from blobrl import Trainer trainer = Trainer(environment=env, agent=agent, log_dir="./logs") ``` Start training: ```python trainer.train(max_episode=100, nb_evaluation=4, render=True) ``` ### Watch metrics Visualize training and evaluation metrics: ```bash tensorboard --logdir logs ``` ## Environments We will use GYM environments for moments. Watch [TODO](./TODO.md#environments-list) for environments in coming. ## Agents Agent implemented: - AgentConstant, this agent choice one random action on start and will take her all next time - AgentRandom, this agent choice one random action each time - DQN, Deep Q Learning (Mnih *et al.*, [2013](https://arxiv.org/abs/1312.5602)) - DoubleDQN, (van Hasselt *et al.*, [2016](https://arxiv.org/abs/1509.06461)) - DuelingDQN, (Wang *et al.*, [2016](https://arxiv.org/abs/1511.06581)) - CategoricalDQN, (Bellamare *et al.*, [2017](https://arxiv.org/abs/1707.06887)) ## Examples You can find all examples [here](./examples) - [Jupyter exemple](./examples/example_jupyter.ipynb) - [Colab exemple](./examples/example_colab.ipynb) ## Results ![CartPoleExemple.gif](./results/ressources/cartpole.gif) You can see more [results](./results/README.md) and analysis


زبان مورد نیاز

مقدار نام
>=3.6.1 Python


نحوه نصب


نصب پکیج whl blobrl-0.1.3:

    pip install blobrl-0.1.3.whl


نصب پکیج tar.gz blobrl-0.1.3:

    pip install blobrl-0.1.3.tar.gz