Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ML-Agents Upgrade to 1.1.0/Release 22 (ml-agents-envs) #10

Merged
merged 13 commits into from
Oct 31, 2024
Merged
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ This repository manages the Python interface for the Animal-AI environment.

The main project repository is located [here](https://github.com/Kinds-of-Intelligence-CFI/animal-ai).

* **Website:** [https://www.animalai.org](https://animalai.org/)
* **Documentation:** [https://animalai.org/doc](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/tree/main/docs)
* **Unity Source code:** [https://github.com/Kinds-of-Intelligence-CFI/animal-ai-unity-project](https://github.com/Kinds-of-Intelligence-CFI/animal-ai-unity-project)
* **Python Source code:** [https://github.com/Kinds-of-Intelligence-CFI/animal-ai-python](https://github.com/Kinds-of-Intelligence-CFI/animal-ai-python)
* **Bug reports:** [https://github.com/Kinds-of-Intelligence-CFI/animal-ai/issues](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/issues)
* **Website:** [here](https://sites.google.com/csah.cam.ac.uk/animalai/)
* **Unity Source code:** [here](https://github.com/Kinds-of-Intelligence-CFI/animal-ai-unity-project)
* **Python Source code:** [here](https://github.com/Kinds-of-Intelligence-CFI/animal-ai-python)
* **Bug reports:** [here](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/issues)

For more information about the ways you can contribute to Animal-AI, visit our website. If you’re unsure where to start or how your skills fit in, reach out! You can ask on GitHub, by opening a new issue or leaving a comment on a relevant issue that is already open.

If you are new to contributing to open source, [this](https://github.com/Kinds-of-Intelligence-CFI/animal-ai/blob/main/CONTRIBUTING.md) guide helps explain why, what, and how to successfully get involved.

## Version History
* v5.0.0
**Note: Version 5.0.0 is not backward compatible with previous versions of Animal-AI due to breaking changes.**
+ Minimum Python version is now `3.10.0 (<3.10.13)` (breaking change).
+ Upgraded to ml-agents-ml-env `1.0.0`.
+ Adds no graphics monitor support.
* v4.1.0
+ Updated `RaycastParser` to accept new object:
- `HollowBox`.
Expand All @@ -29,11 +33,11 @@ If you are new to contributing to open source, [this](https://github.com/Kinds-o
+ Updated RaycastParser to accept two new objects:
- `DecoyGoal` and `DecoyGoalBounce`.
* v4.0.0
**Note: Version 4.0.0 is not backward compatible with previous versions of Animal-AI due to breaking changes.**
+ Only implements _`mlagents 0.30.0`_ package to avoid dependency issues; also reduces package size considerably.
+ Cleaned up package and removed redundant files.
+ Implemented tests for the package.
+ Added documentation for the package.
**Note: Version 4.0.0 is not backward compatible with previous versions of Animal-AI due to the significance of the changes made.**
* v3.0.5
+ Removed redundant packages in `setup.py`.
+ Added download stats.
Expand Down
6 changes: 4 additions & 2 deletions animalai/raycastparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ class RayCastObjects(enum.Enum):
DEATHZONE = 7
HOTZONE = 8
RAMP = 9
PILLARBUTTON = 10
SIGNPOSTER = 11
SPAWNERBUTTON = 10
SIGNBOARD = 11
DECOYGOAL = 12
DECOYGOALBOUNCE = 13
HOLLOWBOX = 14
BADGOALMULTI = 15
DATAZONE = 16


class RayCastParser:
Expand Down
13 changes: 5 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "animalai"
version = "4.1.0"
description = "Animal AI Python API"
version = "5.0.0"
description = "Animal-AI Python API"
license = "MIT"
readme = "README.md"
authors = [
Expand All @@ -18,18 +18,15 @@ classifiers = [
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
]
requires-python = ">=3.8, <3.10"
requires-python = ">=3.10.12, <3.10.13"
dependencies = [
"mlagents_envs==0.30.0",
"mlagents_envs>=1.0.0",
"numpy",
"protobuf==3.20.3",
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading