Code Monkey home page Code Monkey logo

Comments (5)

beyretb avatar beyretb commented on June 12, 2024 1

Hello,

I will add something more user friendly for the actual release at the end of June. I am thinking of writing a couple Jupyter notebooks, is that what you're referring to?

from animalai-olympics.

pnealgit avatar pnealgit commented on June 12, 2024

from animalai-olympics.

krisives avatar krisives commented on June 12, 2024

Can I use CSharp instead of python ?

So far @beyretb has mentioned that agents will be put into some kind of container (like Docker) at which point as long as you are willing to communicate using the same protocol as the Python code provided, then yes, you can use whatever language you want like C#. However, the official rules haven't been released regarding this yet.

Do I have to use the Unity ML-Agents or can I use my own (ie decision tree, MNB, NEAT, etc)?

As far as I know you can use whatever AI model you want.

from animalai-olympics.

beyretb avatar beyretb commented on June 12, 2024

Is the only AnimalAi brain the 'default brain' ?

I m not sure what you mean by default brain, are you referring to the Unity ML Agent's learning brain? If so then yes there is only a single brain you can use for training. There is a player one that gets switched with the training one in case you run the program in play mode.

  1. Can I use CSharp instead of python ?

As @krisives mentioned we plan on using containers for submission so you can in theory use various languages. However we only provide the Python API for interfacing with the Unity executable for training. If you wish to use any other language you will have to work on your own communication pipeline.

  1. Do I have to use the Unity ML-Agents or can I use my own (ie decision
    tree, MNB, NEAT, etc)?

Not at all! Any library/algos are welcome

  1. If I use my own:
    A. How do I integrate it into the AnimalAi environment ? (The train.py
    code is a bit dense for me)
    B. How do I flip it from training back in to inference ?

As long as you can interface with the compiled environment to send actions and collect observations and rewards, you can implement training and inference however you like. Look at animalai/envs/environment.py to understand how communications work in Python.

  1. How do I run 'headless' (no imagery just data) ?

As we use visual observations (pixels) you cannot run training without rendering the environment (which is why we advise to minimise the Unity window as this speeds up training). You can nonetheless run all training on the cloud.

Most of the above is subject to change by the end of June when we launch the competition.

from animalai-olympics.

beyretb avatar beyretb commented on June 12, 2024

closing this issue as we have now repackaged the environment API and testing in two separate packages.
Jupyter notebooks will comesoon.

from animalai-olympics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.