Giter Site home page Giter Site logo

Comments (7)

riturajkaushik avatar riturajkaushik commented on September 23, 2024 1

For a robot with no damage, blocked_legs is an empty array, e.g., blocked_legs = [ ] .

env_params.txt files are generated when you create a map-elites archive. You do not have to create it manually.

We created the repertoires on the cluster (no in our laptop). To generate the repertoires in your computer, you have to adjust the map elites parameters accordingly to match the computing power you have. For example, "random_init = 3000" might take a lot of time if your computer has a small number of cores. Similarly, "dump_period" specifies how often you want to create your archive files. dump_period = 1000 means that map-elites will create an archive file after every 1000 generation, where each generation has batch_size number of evaluations. Our defaults are dump_period = 1000, batch_size=100. So only after 100,000 evaluations, a new archive will be generated (which a lot for a laptop). You can try dump_period = 10 or even less to get generate archive files faster.

from kaushik_2019_aprol.

mw981113zzZ avatar mw981113zzZ commented on September 23, 2024

when i run the python hexapod_experiments/map_elites_hexapod_cartesian.py --lateral_friction 1.0 --blocked_legs 1 3,i can get generation0 after 20-30minutes ,but i cannot get others generation after 5-6 hours.I look forward to your reply and thank you very much!!!

from kaushik_2019_aprol.

mw981113zzZ avatar mw981113zzZ commented on September 23, 2024

Thank you for your reply! I try your methods and it seems work.

I want to collect data that the legs are not broken,when i run python hexapod_experiments/map_elites_hexapod_cartesian.py --lateral_friction 1.0 --blocked_legs 1 3 in the terminal,i set the block_legs value with [ ] or blank,it does not work,it seems must set an int value and the system reminds me set at least one argument . Sorry,I don't how to run this and look forward for your reply.

Thanks again for your reply!

from kaushik_2019_aprol.

riturajkaushik avatar riturajkaushik commented on September 23, 2024

Did you try without any --blocked_legs argument? i.e., Simply running

python hexapod_experiments/map_elites_hexapod_cartesian.py --lateral_friction 1.0

from kaushik_2019_aprol.

riturajkaushik avatar riturajkaushik commented on September 23, 2024

Also, env_params.txt files are available now. Let me know if you can run the experiments now.

from kaushik_2019_aprol.

mw981113zzZ avatar mw981113zzZ commented on September 23, 2024

Yeah!I try block_legs 1 4 and without block_legs.And this experiments can run well! Thank you for sharing env_params.txt.
And thanks again for your reply!

from kaushik_2019_aprol.

riturajkaushik avatar riturajkaushik commented on September 23, 2024

Ok. Great! I am closing this issue.

from kaushik_2019_aprol.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.