Stateless Multi-populatonm Algorithm in Docker containers.
- You need docker, docker-compose
- A git client
- Python3
- Clone this repo
git clone https://github.com/mariosky/EvoSwarm.git
-
From the root of the project:
You will need to use
pip3 install -r requirements.txt
to install the needed library files.
Your local Redis needs to be stopped before this, because it uses the same port.
After docker-compose up
, which downloads and starts the services.
Wait until the controller is ready:
controller_1 | waiting for experiment
controller_1 | pulling
From another terminal add or modify a json configuration file and add a new experiment to the queue:
python3 run_experiment.py your_conf.json
To take down the application:
docker-compose down
To restart the application deleting redis data:
docker-compose up --force-recreate
python3 coco_process_logs.py <EXPERIMENT_ID>
More details in (https://github.com/numbbo/coco)
git clone https://github.com/numbbo/coco.git
python do.py install-postprocessing
python -m cocopp [-o OUTPUT_FOLDERNAME] YOURDATAFOLDER [MORE_DATAFOLDERS]