AttributeError: 'tuple' object has no attribute 'astype'
Dear teacher:
when i run python sim.py --step 10
Traceback (most recent call last):
File "sim.py", line 392, in
This is because you are using the latest version of Pybullet, instead of the one listed in requirements.txt. (pybullet==2.6.4)
In the latest version, you need to manually convert it into a numpy array. For example:
d = np.array(img_arr[3], dtype=np.float32).reshape([h, w])