Download Tools/ci/Program.cs from ashish2244/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/Tools/ci/Program.cs
- Command line
-
hf download hf://ashish2244/ppo-SnowballTarget/Tools/ci/Program.cs
-
curl -L -o Program.cs https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/Tools/ci/Program.cs
513 Bytes
| using MLAgents.Cookbook.Settings; | |
| using RecipeEngine; | |
| using RecipeEngine.Modules.Wrench.Helpers; | |
| // ReSharper disable once CheckNamespace | |
| public static class Program | |
| { | |
| public static int Main(string[] args) | |
| { | |
| var settings = new MLAgentsSettings(); | |
| // ReSharper disable once UnusedVariable | |
| var engine = EngineFactory | |
| .Create() | |
| .ScanAll() | |
| .WithWrenchModule(settings.Wrench) | |
| .GenerateAsync().Result; | |
| return engine; | |
| } | |
| } | |