Skip to content

Commit

Permalink
PyPI release
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbouteiller committed Mar 28, 2021
1 parent df4a3e0 commit 657b2b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions rtgym/envs/real_time_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ def wait(self):
def benchmarks(self):
"""Gets environment benchmarks.
Caution: not compatible with render(join_thread=True)
Returns:
A dictionary containing the running averages and average deviations of important durations
"""
Expand All @@ -535,11 +537,11 @@ def benchmarks(self):
def render(self, mode='human', join_thread=False):
"""Visually renders the current state of the environment.
Caution: when join_thread is True, render() is not compatible with benchmarks().
Args:
mode: not used
join_thread: set this to True if your render method performs thread-unsafe operations
join_thread: set this to True if your render method performs unsafe operations.
The render method of your interface is called outside of the Real-Time Gym thread.
Caution: when join_thread is True, render() is not compatible with benchmarks().
"""
if join_thread:
self._join_thread()
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@

setup(name='rtgym',
packages=[package for package in find_packages()],
version='0.3',
version='0.4',
license='MIT',
description='Easily implement custom OpenAI Gym environments for real-time applications',
long_description=long_description,
long_description_content_type="text/markdown",
author='Yann Bouteiller',
url='https://github.com/yannbouteiller/rtgym',
download_url='https://github.com/yannbouteiller/rtgym/archive/v0.3.tar.gz',
download_url='https://github.com/yannbouteiller/rtgym/archive/v0.4.tar.gz',
keywords=['gym', 'real', 'time', 'custom', 'environment', 'reinforcement', 'learning', 'random', 'delays'],
install_requires=['gym', 'numpy'],
classifiers=[
Expand Down

0 comments on commit 657b2b9

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy