Skip to content

Trouble Preparing Dataset? #4

@windowshopr

Description

@windowshopr

Just discovered this repo, and I'm extremely interested in getting started with SC2 RL, but I'm quickly finding that most of these repo's aren't maintained anymore/they're from versions of the games LONG ago, so I'm hoping to get some insight here.

Now, using this repo, and running Windows 10, Python 3.7.9, and SC2 version 5.0.9, I'm trying to download some replays and prepare the dataset for them. I used this command to download some 4.7.1 datasets (again note, I'm running version 5.0.9 of the game):

python -m scripts.download_replays --key XXXXXXXXXXXXXXXXX --secret XXXXXXXXXXXX --version 4.7.1 --filter_version delete

Using version 5.0.9 doesn't work as there are no replays available for that version.

Being that these are older versions of the replays, I'm only attempting to create a dataset from 2 of the replay files downloaded. I opened/viewed both replays manually to make sure that that version of the game and map were downloaded.

Then, I want to prepare the dataset from using the following command:

python -m scripts.build_dataset --gin_file ./configs/1v1/build_dataset.gin --replays_path ./replay --dataset_path ./data/datasets/1v1 --num_workers 1

My replay path is correct, and the script starts, but doesn't seem to "do" anything at the end. It runs without error, but I don't get a dataset file. My entire output (for 2 replays, 1 worker) looks like this:

image

My guess is it has something to do with versions of stuff, as I see a lot of people struggle with here, but maybe you'd have some insight into what I can troubleshoot? Would love to get this going. Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions