Comments (3)
Yeah you can use the "fixed" distribution type I believe (https://github.com/oxwhirl/smacv2/blob/main/smac/env/starcraft2/distributions.py#L33). Then you can list the team that you want.
This isn't the most well tested use case but it should work just fine.
from smacv2.
Hi! The separate conic fov and shooting is not on the main branch. The options conic_fov and conic_shooting can be found here: https://github.com/oxwhirl/smacv2/blob/separate-conic-fov-and-shooting/smac/env/starcraft2/starcraft2.py#L92
A simple way of not doing random team compositions is to just configure the weighted teams to only spawn one unit type with probability 1. For example, you can change the weights in this config file to 1.0, 0.0, and 0.0 https://github.com/benellis3/mappo/blob/ablation/src/config/envs/sc2_ablate_unit_terran_80-10-10.yaml#L38
Let me know if this doesn't solve your problem and I can try to help you get this working.
from smacv2.
Thank you @benellis3
This answers most part my of queries.
So based on my understanding, I believe having multiple unit types with deterministic team composition is not possible.
from smacv2.
Related Issues (20)
- Feature Request: add pettingzoo requirement & upgrade to latest version HOT 2
- 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
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.