stepjam / RLBench

A large-scale benchmark and learning environment.
https://sites.google.com/corp/view/rlbench
Other
1.12k stars 229 forks source link

An error when running imitation_learning demo #225

Open bihanbihan opened 4 months ago

bihanbihan commented 4 months ago

(rlxintong) hgdx@hgdx-System:~/RLBench/examples$ python imitation_learning.py Traceback (most recent call last): File "imitation_learning.py", line 40, in demos = np.array(demos).flatten() ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part. QObject::~QObject: Timers cannot be stopped from another thread QMutex: destroying locked mutex

jmcoholich commented 4 months ago

I have the same issue.

hahans commented 2 months ago

hello I meet the same error, I solved this problem by modifying this code: "demos = np.array(demos,dtype=object).flatten()" and then downloading the related linux dependency package:"sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev "