AIPyRaceChampions
PythonでAIエージェントを3Dコース上で走らせるレースチャレンジ基盤です。
Install
pip install aipyrasechampions
pip install "aipyrasechampions[3d]" # 3D viewer
Agent API
from aipyrasechampions import Agent, Race, Track
class SimpleAgent(Agent):
def act(self, observation):
return {"throttle": 0.8, "steering": 0.0}
race = Race(Track.training_circuit(), SimpleAgent())
for _ in range(1000):
result = race.step(0.05)
if result.done:
break
print(result.lap_time, result.reward)
Observationには速度、コース上の進捗、左右の距離センサーが含まれます。Ursinaを追加すると aipyrace --demo で3Dデモを起動できます。
Metadata
Release files for aipyrasechampions 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aipyrasechampions-0.1.0.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aipyrasechampions-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / aipyrasechampions-0.1.0.tar.gz
| Download URL | aipyrasechampions-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d328866044fde81f48e009aceaab9a0b5c2e02587fd17daf2c844cafc5a17f17
|
|
BLAKE2b-256 checksum How to use checksums |
65754d2c83527fa68ec381fc86c277fa7c5fb5112685074bcc0246dbff0b18a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / aipyrasechampions-0.1.0-py3-none-any.whl
| Download URL | aipyrasechampions-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72d6cabc0263f8c694129c165efbb281f709d0e78ef2b5646ff66d400a51ecd6
|
|
BLAKE2b-256 checksum How to use checksums |
1ad6c904bfa1bbabf706f4df8b684feb5b2a4a29a087923a8dcce4d54fee13ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for aipyrasechampions 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.