RLBench icon indicating copy to clipboard operation
RLBench copied to clipboard

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

Open zhuchengyao opened this issue 10 months ago • 0 comments

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

zhuchengyao avatar Apr 14 '24 10:04 zhuchengyao