Comments (2)
This is the full error message:
platform linux -- Python 3.7.16, pytest-7.1.2, pluggy-1.0.0
rootdir: /home/chen/curobo, configfile: pyproject.toml
plugins: torchtyping-0.1.4, typeguard-4.1.2
collected 121 items / 2 errors / 2 skipped
================================================================================================== ERRORS ==================================================================================================
_________________________________________________________________________________ ERROR collecting tests/ik_config_test.py _________________________________________________________________________________
tests/ik_config_test.py:134: in
(ik_base_config(), True),
tests/ik_config_test.py:36: in ik_base_config
load_yaml(join_path(get_robot_configs_path(), robot_file))["robot_cfg"]
src/curobo/types/robot.py:49: in from_dict
CudaRobotGeneratorConfig(**data_dict_in["kinematics"], tensor_args=tensor_args)
:31: in init
???
src/curobo/cuda_robot_model/cuda_robot_generator.py:203: in post_init
self.extra_links[k] = LinkParams.from_dict(self.extra_links[k])
src/curobo/cuda_robot_model/kinematics_parser.py:43: in from_dict
Pose.from_list(dict_data["fixed_transform"], tensor_args=TensorDeviceType())
src/curobo/types/math.py:281: in get_numpy_matrix
return self.get_matrix().cpu().numpy()
../miniconda3/envs/curobo2/lib/python3.7/contextlib.py:74: in inner
return func(*args, **kwds)
src/curobo/types/math.py:277: in get_matrix
full_mat = pose_to_matrix(self.position, self.quaternion, out_matrix)
src/curobo/geom/transform.py:163: in pose_to_matrix
out_matrix[..., :3, :3] = quaternion_to_matrix(quaternion)
src/curobo/geom/transform.py:110: in quaternion_to_matrix
out_mat = QuatToMatrix.apply(quaternions, out_mat, adj_quaternion)
src/curobo/geom/transform.py:1078: in forward
wp.from_torch(quaternion.detach().view(-1, 4).contiguous(), dtype=wp.vec4),
../miniconda3/envs/curobo2/lib/python3.7/site-packages/warp/torch.py:115: in from_torch
raise RuntimeError(f"Incompatible data types: {t.dtype} and {dtype}")
E RuntimeError: Incompatible data types: torch.float64 and <class 'warp.types.vec4f'>
______________________________________________________________________________ ERROR collecting tests/trajopt_config_test.py _______________________________________________________________________________
tests/trajopt_config_test.py:115: in
(trajopt_base_config(), True),
tests/trajopt_config_test.py:31: in trajopt_base_config
load_yaml(join_path(get_robot_configs_path(), robot_file))["robot_cfg"]
src/curobo/types/robot.py:49: in from_dict
CudaRobotGeneratorConfig(**data_dict_in["kinematics"], tensor_args=tensor_args)
:31: in init
???
src/curobo/cuda_robot_model/cuda_robot_generator.py:203: in post_init
self.extra_links[k] = LinkParams.from_dict(self.extra_links[k])
src/curobo/cuda_robot_model/kinematics_parser.py:43: in from_dict
Pose.from_list(dict_data["fixed_transform"], tensor_args=TensorDeviceType())
src/curobo/types/math.py:281: in get_numpy_matrix
return self.get_matrix().cpu().numpy()
../miniconda3/envs/curobo2/lib/python3.7/contextlib.py:74: in inner
return func(*args, **kwds)
src/curobo/types/math.py:277: in get_matrix
full_mat = pose_to_matrix(self.position, self.quaternion, out_matrix)
src/curobo/geom/transform.py:163: in pose_to_matrix
out_matrix[..., :3, :3] = quaternion_to_matrix(quaternion)
src/curobo/geom/transform.py:110: in quaternion_to_matrix
out_mat = QuatToMatrix.apply(quaternions, out_mat, adj_quaternion)
src/curobo/geom/transform.py:1078: in forward
wp.from_torch(quaternion.detach().view(-1, 4).contiguous(), dtype=wp.vec4),
../miniconda3/envs/curobo2/lib/python3.7/site-packages/warp/torch.py:115: in from_torch
raise RuntimeError(f"Incompatible data types: {t.dtype} and {dtype}")
E RuntimeError: Incompatible data types: torch.float64 and <class 'warp.types.vec4f'>
============================================================================================= warnings summary =============================================================================================
:14
:14: DeprecationWarning: invalid escape sequence \p
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================================= short test summary info ==========================================================================================
ERROR tests/ik_config_test.py - RuntimeError: Incompatible data types: torch.float64 and <class 'warp.types.vec4f'>
ERROR tests/trajopt_config_test.py - RuntimeError: Incompatible data types: torch.float64 and <class 'warp.types.vec4f'>
from curobo.
The problem is solved.Its the CUDA version which not fit curobo.I used CUDA11.7 and pytorch 1.13.1, and everything will be right.
from curobo.
Related Issues (20)
- Unit tests fail in Python 3.11 (v0.62 and main: c09d949) HOT 4
- Couldn't find function overload for 'index' when creating a `RobotWorldConfig` object HOT 1
- Attach object in the batch mode HOT 2
- Error running CuRobo examples from isaac sim docker HOT 12
- How do I fix it? HOT 9
- Shape Mismatch in `_check_none_and_copy_idx` HOT 1
- Problem of franka_panda_mobile_xy_tz
- Unable to Find Time or Velocity Configuration for Generating Position Trajectory HOT 1
- Error building docker image with issac sim 2022.2.1 HOT 4
- Motion planning for stretch robot
- CUDA error: invalid configuration argument for geom_cu.self_collision_distance when configuring new robot. HOT 6
- Usage example with other simulators
- Security HOT 2
- The rigid body at /World/panda/ee_link has a possibly invalid inertia tensor HOT 2
- Plan failed due to Start or End state in collision HOT 10
- Trouble installing curobo to work with Isaac Sim HOT 2
- URDF Importer fails to load meshes for all robots on isaac-sim-2023.1.0-hotfix.1 HOT 3
- missing `log_warn` import? HOT 1
- How to set the collision configuration of the robot so that each robot has its own collision configuration with Batched Environments
- 'devices_without_uva' error HOT 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 curobo.