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

cannot reshape array of size 16 into shape (3,4) #222

Open
zhuchengyao opened this issue Apr 14, 2024 · 0 comments
Open

cannot reshape array of size 16 into shape (3,4) #222

zhuchengyao opened this issue Apr 14, 2024 · 0 comments

Comments

@zhuchengyao
Copy link

I setup the environment and run a sample. But get into the error below.

(VoxPoser) cyzhu@Fudan-ai:~/VoxPoser/RLBench/examples$ python3 single_task_rl.py
Reset Episode
Traceback (most recent call last):
File "/nfs/cyzhu/VoxPoser/RLBench/examples/single_task_rl.py", line 37, in
descriptions, obs = task.reset()
^^^^^^^^^^^^
File "/nfs/cyzhu/VoxPoser/RLBench/rlbench/task_environment.py", line 91, in reset
return desc, self._scene.get_observation()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/cyzhu/VoxPoser/RLBench/rlbench/backend/scene.py", line 258, in get_observation
np.reshape(tip.get_matrix(), (3, 4))
File "/nfs/cyzhu/anaconda3/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 285, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/cyzhu/anaconda3/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 59, in _wrapfunc
return bound(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 16 into shape (3,4)
QObject::~QObject: Timers cannot be stopped from another thread
QMutex: destroying locked mutex

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