'AttributeError: 'Box' object has no attribute 'shape' Error

lib/python3.7/site-packages/stable_baselines/common/input.py", line 25, in observation_input observation_ph = tf.placeholder(shape=(batch_size,) + ob_space.shape, dtype=ob_space.dtype, name=name) AttributeError: 'Box' object has no attribute 'shape'

Tired a clean install. Environment is not an issue as it works on other computers.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source