Download ml-agents-plugin-examples/setup.py from ashish2244/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/ml-agents-plugin-examples/setup.py
- Command line
-
hf download hf://ashish2244/ppo-SnowballTarget/ml-agents-plugin-examples/setup.py
-
curl -L -o setup.py https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/ml-agents-plugin-examples/setup.py
603 Bytes
| from setuptools import setup | |
| from mlagents.plugins import ML_AGENTS_STATS_WRITER | |
| setup( | |
| name="mlagents_plugin_examples", | |
| version="0.0.1", | |
| # Example of how to add your own registration functions that will be called | |
| # by mlagents-learn. | |
| # | |
| # Here, the get_example_stats_writer() function in mlagents_plugin_examples/example_stats_writer.py | |
| # will get registered with the ML_AGENTS_STATS_WRITER plugin interface. | |
| entry_points={ | |
| ML_AGENTS_STATS_WRITER: [ | |
| "example=mlagents_plugin_examples.example_stats_writer:get_example_stats_writer" | |
| ] | |
| }, | |
| ) | |