Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: axes don't match array #14

Closed
arkinrc opened this issue Jan 19, 2022 · 0 comments
Closed

ValueError: axes don't match array #14

arkinrc opened this issue Jan 19, 2022 · 0 comments

Comments

@arkinrc
Copy link

arkinrc commented Jan 19, 2022

after training custom dataset using Ouster OS1-64E Lidar have got follwoing error when i run
run_rosnode.py --checkpoint /home/arkin/DeLORA/checkpoints/small_epoch_75.pth --dataset darpa --lidar_topic="/os_cloud_node/points" --lidar_frame="os_lidar"

[ERROR] [1642642253.397553]: bad callback: <bound method OdometryPublisher.subscriber_callback of <ros_utils.odometry_publisher.OdometryPublisher object at 0x7f5404141040>>
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/arkin/DeLORA/src/ros_utils/odometry_publisher.py", line 188, in subscriber_callback
    self.point_cloud_t = torch.from_numpy(self.filter_scans(point_cloud_t_numpy))
  File "/home/arkin/DeLORA/src/ros_utils/odometry_publisher.py", line 93, in filter_scans
    scan = np.transpose(scan, (2, 1, 0))
  File "<__array_function__ internals>", line 5, in transpose
  File "/home/arkin/anaconda3/envs/DeLORA-py3.9/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 658, in transpose
    return _wrapfunc(a, 'transpose', axes)
  File "/home/arkin/anaconda3/envs/DeLORA-py3.9/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 58, in _wrapfunc
    return bound(*args, **kwds)
ValueError: axes don't match array

looking forward to your reply..
regards
Arkin

@arkinrc arkinrc closed this as completed Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant