Please keep in mind that the src/file_renamer.py
contains required argument values and can be customized with the following command line interaface:
Usage: file_renamer.py [OPTIONS]
Tool used for renaming auxilliary files (log files) that are produced when
creating StarCraft 2 (SC2) datasets with
https://github.com/Kaszanas/SC2InfoExtractorGo
Options:
--input_path DIRECTORY Input path to the directory containing the
dataset that is going to be processed by
packaging into .zip archives. [required]
--log [INFO|DEBUG|ERROR|WARN] Log level. Default is WARN.
--help Show this message and exit.
Note
There are two ways of executing this script with Docker. One is to use the main repository Dockerfile (available in docker
directory) and the other is to use the Dockerfile contained in this directory.
Please refer to the main README for the instructions.
Build the docker image:
docker build --tag=datasetpreparator:latest .
Run the docker image (please replace <paths>
):
docker run -v "<./input>:/app/input" \
datasetpreparator:latest \
python3 file_renamer.py --input_dir /app/input