Comments (4)
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.
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.
Yup that makes sense. Let me know if you need any more help.
from smacv2.
Closing, but re-open/open a new issue if you need more help
from smacv2.
Related Issues (20)
- Failed to reproduce the result. HOT 4
- Set trained model as opponent? HOT 2
- [Question] Which version of StarCraftII does the SMACv2 paper use? HOT 1
- Question about DuplicateMapError w/benellis3/pymarl2 HOT 5
- [Error] value error by run examples/rllib/run_ppo.py HOT 2
- AttributeError: 'StarCraft2Env' object has no attribute 'get_true_avail_agent_actions' HOT 2
- [Bug] Example script bugs
- [Bug] numpy dependency error HOT 1
- [SMAC v1] Comparing with SMAC v1 HOT 2
- [Bug] Rendering in capability wrapper unusable HOT 1
- How to use seeds
- [Bug] AttributeError about 'state_feature_names' in starcraft.py HOT 4
- How to set the WANDB_API_KEY_FILE environment variable HOT 2
- SMACv2 baseline QMIX in smacv2/RUNNING_EXPERIMENTS.md error HOT 2
- Calculation of mean_test_win_rate
- Issue with color palette is breaking rendering
- Question, not an issue
- When replay SC2Replay file in StarCraft II client encounter a error " can not open the map" HOT 1
- Having both SMAC and SMACv2
- Share the weights of learned policies.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smacv2.