Comments (6)
Hey, thanks for reminding. I forgot to correct these absolute paths. And yes, it seems env_params.txt were removed by gitignore. I'll anyways clean the codes a bit very soon and fix the issues.
from kaushik_2019_aprol.
I have updated the README to avoid the issue with the absolute path to the urdfs. Basically, you need to define an empty environment variable RESIBOTS_DIR
before running the code. Script will automatically take the default paths to the urdfs when this environment variable is available. Regarding env_params.txt
files, these files should not be required to run the examples.
Can you please confirm if you are able to run the mapelites script for the kuka experiment now?
from kaushik_2019_aprol.
Hey, I cloned again your repo to test the comments you mentioned:
- Creating the empty environment variable avoids the need for absolute paths
python3 kuka_pushing_exps/map_elites_kuka_pushing.py --toy 5
can be run without any problem.python3 kuka_pushing_exps/kukaPushing_astar_ctlr2cartesian_v2.py --toy 0 --ucb_const 0.5 --kernel_var 0.003 --kernel_l 0.03 --visualization_speed 5.0 --search_size 800 --objectEulerAngles -1 --gui
complains about the missingenv_params.txt
.
Traceback (most recent call last):
File "kuka_pushing_exps/kukaPushing_astar_ctlr2cartesian_v2.py", line 487, in <module>
main()
File "kuka_pushing_exps/kukaPushing_astar_ctlr2cartesian_v2.py", line 289, in main
with open(dd+"/env_params.txt", 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './data/kuka_pusher_prior/kuka_pusher_map_toy_10_friction_1/env_params.txt'
from kaushik_2019_aprol.
Hey @riturajkaushik, I have a question.
In
kaushik_2019_aprol/utils/map_elites.py
Line 45 in c577eb0
Thank you in advance!.
from kaushik_2019_aprol.
Hey, the 300.0 is actually a hyperparameter for the mutation variance. Since in the original CVT-map elites implementation it was kept like this, so I kept it as well. This value should not impact the optimization that much as long as it keeps the value of (params["max"][i]-params["min"][i])/300.0
small compared to the range of the parameters.
You can get the map-elites code from here if you want to use it for some other purpose.
Regarding the env_params.txt
files, I'll upload them as soon as possible.
from kaushik_2019_aprol.
Since I lost the original env_params.txt
files for the archives, I had to do a work-around to generate those files based on the information (e.g., friction, blocked legs, toy id etc.) stored in the directory names of the archives. Files are available now.
from kaushik_2019_aprol.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaushik_2019_aprol.