chris-chris / pysc2-examples

StarCraft II - pysc2 Deep Reinforcement Learning Examples
Apache License 2.0
755 stars 356 forks source link

replay_mineral.py returns empty output #37

Open bw-leran opened 3 years ago

bw-leran commented 3 years ago

I'm trying to get replay data from .SC2Replay files by running replay_minerals.py. The program runs successfully but outputs empty arrays and values. I've tried several different replay files. Here is a sample output:

============================================= Summary 10 secs ============================================= Replays: 0, Steps total: 0

Camera move: 0, Select pt: 0, Select rect: 0, Control group: 0

Maps: 0 {}

Races: 0 {}

Unit ids: 0 {}

Valid abilities: 0 {}

Made abilities: 0 {}

Valid actions: 0 {}

Made actions: 0 {}

Crashing replays: 0 []

Invalid replays: 0 [] ---------------------------------------------- Process stats ---------------------------------------------- [ 0] replay: , replays: 0, steps: 0, game loops: 0, last: launch, 9 s ago

The program then finishes with 0 exit code.

Any ideas of what I should try to get this file to work properly?