BerkeleyAutomation / dex-net

Repository for reading the Dex-Net 2.0 HDF5 database of 3D objects, parallel-jaw grasps, and robust grasp metrics
https://berkeleyautomation.github.io/dex-net/code.html
Other
296 stars 97 forks source link

TypeError: sample_grasps() got an unexpected keyword argument 'stable_pose' #75

Open Ultraopxt opened 2 years ago

Ultraopxt commented 2 years ago

Hi, when run test and got the following errors:

ERROR: test_grasp_quality_functions (test.grasping_test.GraspTest)

Traceback (most recent call last): File "/home/adminis/qw/dex-net-silvia/test/grasping_test.py", line 238, in test_grasp_quality_functions grasps = ags.generate_grasps(obj, target_num_grasps=num_grasps) File "/home/adminis/qw/dex-net-silvia/src/dexnet/grasping/grasp_sampler.py", line 168, in generate_grasps vis, direction=direction, stable_pose=stable_pose, **kwargs) TypeError: sample_grasps() got an unexpected keyword argument 'stable_pose'

====================================================================== FAIL: test_new_database_and_graspable (test.database_test.Hdf5DatabaseTest)

Traceback (most recent call last): File "/home/adminis/qw/dex-net-silvia/test/database_test.py", line 85, in test_new_database_and_graspable self.assertTrue(database is not None and dataset is not None) AssertionError: False is not true


Ran 15 tests in 42.650s

FAILED (failures=1, errors=2) Test failed: error: Test failed: