Code Monkey home page Code Monkey logo

Comments (4)

benellis3 avatar benellis3 commented on September 11, 2024

Hi. All scenarios in SMACv2, including those of different number of enemies and unit types, happen with the same map file. You can change the number of units by adjusting the n_units and n_enemies sections of the yaml file. You can also adjust unit types, but bear in mind we do not support ones other than those listed in the yamls you can find here: https://github.com/oxwhirl/smacv2/tree/main/smacv2/examples/configs

If you want to recreate 20m, you can do that by specifying only marines in the terran yaml file and setting the number of enemies and units to be 20. You can also set use_unit_ranges=False to recover the SMACv1 behaviour of only using a fixed sight and attack range on all unit types if you want that..

If you want to continuously evaluate on different scenarios to the one you are training on then the easiest way of doing that is to create a bunch of different environments with different configurations up-front, and then evaluate on those.

I'm not quite sure exactly what you are trying to do, so it's hard for me to offer you more specific advice. Happy to help though!

from smacv2.

Monarchlee avatar Monarchlee commented on September 11, 2024

Thanks for your help and patience. I'm just trying to eval my pre-trained models on plenty of maps with different numbers of entities and types. Doing so lets me judge if my model is general enough to smac. Now I know that maybe I can just load my model and eval it with different configs. My original plan is to create various SC2Map files so that I can test my model on them. Thanks again.

from smacv2.

benellis3 avatar benellis3 commented on September 11, 2024

Yup that makes sense. Let me know if you need any more help.

from smacv2.

benellis3 avatar benellis3 commented on September 11, 2024

Closing, but re-open/open a new issue if you need more help

from smacv2.

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.