From b6d39273aa91c1073954380064e03d0ee3064570 Mon Sep 17 00:00:00 2001 From: zdy023 Date: Sun, 14 Jul 2024 14:47:25 +0800 Subject: [PATCH] ver Jul14th v4.0 --- Changelog | 7 +++++++ README-zh.md | 14 ++++++++++++++ README.md | 21 +++++++++++++++++++++ pyproject.toml | 2 +- setup.py | 2 +- 5 files changed, 44 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 1ea3b87..5116ea7 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,10 @@ +2024-07-14 Danyang Zhang + + v4.0 + + Fixed bugs + Minor updates + 2024-06-21 Danyang Zhang Enabled UTF-8 input diff --git a/README-zh.md b/README-zh.md index 7b126c0..047e61d 100644 --- a/README-zh.md +++ b/README-zh.md @@ -4,6 +4,20 @@ ## 最近更新 +* (2024-07-14 v4.0) + * 新增了ADB动作和观测类型 + * 现已支持在`TEXT`动作中输入一般UTF-8字符串 + * 为屏幕文本事件添加了对模糊文本识别的支持;为各采用模糊文本识别的事件添加了触发阈值功能 + * 将接口从`dm_env`迁移到了`android_env.interfaces`上,以区分成功、失败、中止三种历程结束状态。更新了历程结束事件,现在能够更方便地在任务定义文件中控制事件的触发 + * 为各事件槽添加了`cache_until`字段,现在可以通过该字段将一事件的触发状态缓存,直至另一事件触发后清除它。这能够保证`AND`节点的子事件同时达到触发状态,从而正确激活`AND`事件 + * 新添了`null_listener`,来放置不直接连接到某实在历程事件(得分、回报、历程结束、过程中指令、额外信息等)的事件节点 + * 在`RemoteSimulator`中启用了图片压缩算法 + * 从`gym`迁移到了`gymnasium` + * 更新了`VhIoWrapper`和`TapActionWrapper` + * 对标注工具有些小更新 + +详情请查看[更新日志](Changelog)。相关文档不日将会更新。新计划编写一册新教程指导如何管理历程事件,敬请期待。 + * (2024-04-30 v3.6) * 更新了加载远程模拟器的函数,用以为远程资源提供不同于本地任务定义文件所在目录的路径 * 更新了任务模板工具,增加了新的槽位修饰符与任务配置文件语法 diff --git a/README.md b/README.md index b9881ed..d8a303f 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,27 @@ ## NEWS!! +* (2024-07-14 v4.0) + * Added new action and observation type of ADB + * Enabled input of common UTF-8 strings for `TEXT` action + * Enabled fuzzy match method for screen text events. Enabled triggering + threshold for fuzzy match modes. + * Migrated from `dm_env` to `android_env.interfaces` to distinguish + successful, failed, and truncated episode ends. Updated episode end events + to control its triggering in the task definition file more conviniently. + * Added `cache_until` field for event slots to correctly trigger an `AND` + node whose sub-events are expected to be triggered simultaneously. Now an + activatated event can be cached temporarily until another triggered event + clears it. + * Added `null_listener` for target-less event nodes. + * Applied image compression in `RemoteSimulator`. + * Migrated from `gym` to `gymnasium`. + * Updates to `VhIoWrapper` and `TapActionWrapper` + * Minor updates to annotation tool. + +See our [Change Log](Changelog) for details. The documents will be revised +soon. A new tutorial w.r.t. episode event management is on plan. + * (2024-04-30 v3.6) * Updated function to load a remote simulator to enable providing the remote resources with a different path with the path of the local task definition diff --git a/pyproject.toml b/pyproject.toml index e6f93ef..2e16a4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "mobile-env-rl" -version = "4.0b2" +version = "4.0" authors = [{name = "Danyang Zhang @X-Lance", email = "zdy004007@126.com"}] license = {file = "LICENSE"} description = "A Universal Platform for Training and Evaluation of Mobile Interaction" diff --git a/setup.py b/setup.py index 1b90dee..0659f22 100644 --- a/setup.py +++ b/setup.py @@ -112,7 +112,7 @@ def run(self): setup( name='mobile-env-rl', - version='4.0b2', + version='4.0', description='Mobile-Env: A Universal Platform for Training and Evaluation of Mobile Interaction', long_description=description, author='Danyang Zhang @X-Lance',