Changeset 1207 for framspy


Ignore:
Timestamp:
03/08/23 00:50:03 (21 months ago)
Author:
Maciej Komosinski
Message:

Examples made more friendly to shells that treat semicolon "as;a;command;separator" (like bash or powershell)

Location:
framspy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksLibCompetition.py

    r1206 r1207  
    1515        - set SIMPLE_FITNESS_FORMAT = False below,
    1616        - edit FramsticksEvolution.py in a few places so that it only uses the FramsticksLibCompetition class instead of FramsticksLib,
    17         - run: python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY%  -sim eval-allcriteria.sim;recording-body-coords.sim  -opt COGpath  -generations 20
     17        - run: python FramsticksEvolution.py -path %DIR_WITH_FRAMS_LIBRARY%  -sim "eval-allcriteria.sim;deterministic.sim;recording-body-coords.sim"  -opt COGpath  -generations 20
    1818        See also: https://www.framsticks.com/gecco-competition
    1919        """
  • framspy/run-deap-examples.cmd

    r1161 r1207  
    99
    1010rem simple one-criterion evolution, maximize the number of neurons
    11 python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim eval-allcriteria.sim  -opt numneurons
     11python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim"  -opt numneurons
    1212 
    1313
    1414rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
    15 python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim    -opt velocity
     15python FramsticksEvolution.py   -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim"    -opt velocity
    1616
    1717
  • framspy/run-evolalg-examples.cmd

    r1190 r1207  
    99
    1010rem evolution with niching
    11 python -m evolalg.run_frams_niching  -path %DIR_WITH_FRAMS_LIBRARY%  -sim eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim -opt velocity -genformat 0 -dissim 1 -fit knn_niching -archive 50 -max_numparts 15 -max_numneurons 15 -max_numjoints 30 -max_numconnections 30  -max_numgenochars 10000 -popsize 50 -generations 10 -normalize none -hof_savefile HoF-niching.gen
     11python -m evolalg.run_frams_niching  -path %DIR_WITH_FRAMS_LIBRARY%  -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim" -opt velocity -genformat 0 -dissim 1 -fit knn_niching -archive 50 -max_numparts 15 -max_numneurons 15 -max_numjoints 30 -max_numconnections 30  -max_numgenochars 10000 -popsize 50 -generations 10 -normalize none -hof_savefile HoF-niching.gen
    1212
    1313rem a generic island model example
    14 python -m evolalg.run_frams_islands  -path %DIR_WITH_FRAMS_LIBRARY%  -islands=10 -generations_migration=5 -sim eval-allcriteria.sim;only-body.sim;deterministic.sim;sample-period-2.sim -opt vertpos -genformat 1 -max_numparts 15 -max_numneurons 15 -max_numjoints 5 -max_numconnections 5  -max_numgenochars 100 -popsize 20 -generations 15  -hof_savefile HoF-islands.gen
     14python -m evolalg.run_frams_islands  -path %DIR_WITH_FRAMS_LIBRARY%  -islands=10 -generations_migration=5 -sim "eval-allcriteria.sim;only-body.sim;deterministic.sim;sample-period-2.sim" -opt vertpos -genformat 1 -max_numparts 15 -max_numneurons 15 -max_numjoints 5 -max_numconnections 5  -max_numgenochars 100 -popsize 20 -generations 15  -hof_savefile HoF-islands.gen
    1515
    1616rem a combination of various parameters for thorough testing, see source of 'test_diferent_settings.py'
    17 rem python -m evolalg.tests.test_diferent_settings  -path %DIR_WITH_FRAMS_LIBRARY%  -sim eval-allcriteria.sim
     17rem python -m evolalg.tests.test_diferent_settings  -path %DIR_WITH_FRAMS_LIBRARY%  -sim "eval-allcriteria.sim"
    1818
    1919
  • framspy/run-evolalg_steps-examples.cmd

    r1185 r1207  
    1313
    1414rem as above but "chaining" .sim files, subsequent files overwrite selected parameters
    15 python -m evolalg_steps.examples.standard          -path %DIR_WITH_FRAMS_LIBRARY%   -sim eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim    -opt velocity
     15python -m evolalg_steps.examples.standard          -path %DIR_WITH_FRAMS_LIBRARY%   -sim "eval-allcriteria.sim;deterministic.sim;sample-period-longest.sim"    -opt velocity
    1616
    1717
Note: See TracChangeset for help on using the changeset viewer.