Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble Preparing Dataset? #4

Open
windowshopr opened this issue Mar 26, 2022 · 1 comment
Open

Trouble Preparing Dataset? #4

windowshopr opened this issue Mar 26, 2022 · 1 comment

Comments

@windowshopr
Copy link

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!!

@chscheller
Copy link
Owner

Hi! Could it be that both replays do not satisfy the filter constraints configured in configs/1v1/build_dataset.gin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants