ML-for-B-E / nevergrad

A Python toolbox for performing gradient-free optimization
https://facebookresearch.github.io/nevergrad/
MIT License
2 stars 0 forks source link

Write the ouputs of an experiment in a folder `outputs` #13

Closed akouete-kpakpo closed 2 years ago

akouete-kpakpo commented 2 years ago

Context

The outputs of an experiment are written at the root of the project. In addition, they are not ignored by git.

Solution proposed

Write the outputs in a folder outputs at the root of the project

akouete-kpakpo commented 2 years ago

@chrichri17 @abiolaTresor @Ethel2003 please I'm adding this section

Also use

python -m nevergrad.benchmark rice_irrigation --output=outputs/2/ --numworkers=4 --plot --plot to output plots --output= to generate outputs in a specific folder --numworkers= to parallelize the job on multiple cores

in the wiki https://github.com/akouete-kpakpo/nevergrad/wiki/Installation.

Could you review please? If ok, I will close this issue

chrichri17 commented 2 years ago

Looks good @akouete-kpakpo

akouete-kpakpo commented 2 years ago

thanks @chrichri17

small change on the wiki. The right command is python -m nevergrad.benchmark rice_irrigation --output=outputs/2/rice_irrigation.csv --num_workers=4 --plot

akouete-kpakpo commented 2 years ago

@chrichri17 I'm reopening as I noticed that the command does not work if the folder does not exists