philtabor / Deep-Q-Learning-Paper-To-Code

MIT License
342 stars 145 forks source link

ndarray error #12

Open evo11x opened 3 years ago

evo11x commented 3 years ago

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