Deep-Q-Learning-Paper-To-Code icon indicating copy to clipboard operation
Deep-Q-Learning-Paper-To-Code copied to clipboard

ndarray error

Open evo11x opened this issue 4 years ago • 0 comments

I get this error without any line of code with Python 3.8 and the latest pytorch

<array_function internals>:5: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray

and after the first episode it fails to save the model, probably because the array is not created

evo11x avatar Aug 11 '21 22:08 evo11x