Comments (5)
Hi Zhihao,
Here is a requirements.txt file with all of the Python libraries needed for a clean install of Assistive Gym.
from assistive-gym.
Thanks!!
I updated keras to 2.3.1 and solved this problem.
However, after I run the random-actions.py
in the examples
, here are still errors:
Traceback (most recent call last):
File "F:/assistive-gym-test/examples/random_actions.py", line 5, in
observation = env.reset()
File "E:\anaconda\lib\site-packages\gym\wrappers\time_limit.py", line 25, in reset
return self.env.reset(**kwargs)
File "F:\assistive-gym-test\assistive_gym\envs\feeding.py", line 104, in reset
self.human, self.wheelchair, self.robot, self.robot_lower_limits, self.robot_upper_limits, self.human_lower_limits, self.human_upper_limits, self.robot_right_arm_joint_indices, self.robot_left_arm_joint_indices, self.gender = self.world_creation.create_new_world(furniture_type='wheelchair', static_human_base=True, human_impairment='random', print_joints=False, gender='random')
File "F:\assistive-gym-test\assistive_gym\envs\world_creation.py", line 66, in create_new_world
human, human_lower_limits, human_upper_limits = self.init_human(static_human_base, self.human_limit_scale, print_joints, gender=gender)
File "F:\assistive-gym-test\assistive_gym\envs\world_creation.py", line 89, in init_human
human = self.human_creation.create_human(static=static_human_base, limit_scale=limit_scale, specular_color=[0.1, 0.1, 0.1], gender=gender, config=self.config)
File "F:\assistive-gym-test\assistive_gym\envs\human_creation.py", line 265, in create_human
human = p.createMultiBody(baseMass=0 if static else m*0.1, baseCollisionShapeIndex=chest_c, baseVisualShapeIndex=chest_v, basePosition=chest_p, baseOrientation=[0, 0, 0, 1], linkMasses=linkMasses, linkCollisionShapeIndices=linkCollisionShapeIndices, linkVisualShapeIndices=linkVisualShapeIndices, linkPositions=linkPositions, linkOrientations=linkOrientations, linkInertialFramePositions=linkInertialFramePositions, linkInertialFrameOrientations=linkInertialFrameOrientations, linkParentIndices=linkParentIndices, linkJointTypes=linkJointTypes, linkJointAxis=linkJointAxis, linkLowerLimits=linkLowerLimits, linkUpperLimits=linkUpperLimits, useMaximalCoordinates=False, flags=p.URDF_USE_SELF_COLLISION, physicsClientId=self.id)
TypeError: 'linkLowerLimits' is an invalid keyword argument for this function
from assistive-gym.
It looks like you may have the original pybullet library installed.
You will want to install a customized pybullet here: https://github.com/Zackory/bullet3
Further details can be found here: https://github.com/Healthcare-Robotics/assistive-gym/wiki/1.-Install
This custom pybullet library includes python wrappers for cloth simulation and human joint limits in pybullet.
from assistive-gym.
Thanks!! It works now!
I think this issue (question) can be closed now and hope it would also be helpful for other beginners.
BTW, you and your team's work are so impressive! It is definitely a valuable project for deploying reinforcement learning with python bullet. I also visited your personal website and your experience and works are so brilliant! I will learn from you. : )
from assistive-gym.
Thank you. =)
from assistive-gym.
Related Issues (20)
- Error with building custom bullet3 HOT 2
- Strange issue with training cooperative scratch environment HOT 3
- Reproducing Cooperative ItchScratch results HOT 2
- Issue with creating a new environment HOT 2
- Arm Manipulation Google Collaboratory HOT 3
- ValueError when using SAC with co-optimization HOT 1
- About p.setGravity HOT 1
- Issue Create New Environment HOT 1
- Transfer learned policy to actual robot
- Action space for FeedingSawyer HOT 3
- Import Custom 3D Objects HOT 2
- Run trained policies for active human environments on static human environments HOT 2
- Can't load "human" environments HOT 1
- Hi, I can't train ppo on tutorial HOT 1
- Hi, i can't run the env_viewer.py HOT 2
- Add a new type of robot HOT 2
- ('Observation ({}) outside given space ({})!' Error when trying to train model HOT 4
- When I do "env = gym.make", I get an error "PicklingError: Could not pickle object as excessively deep recursion required. HOT 2
- Issue running Assistive_Gym_Basics.ipynb colab notebook HOT 2
- Unable to build Dockerfile
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 assistive-gym.