Use object instead of deprecated np.object
parent
c9e108fde1
commit
0573deb5d3
|
@ -1450,7 +1450,7 @@
|
|||
"\n",
|
||||
"class ReplayBuffer:\n",
|
||||
" def __init__(self, max_size):\n",
|
||||
" self.buffer = np.empty(max_size, dtype=np.object)\n",
|
||||
" self.buffer = np.empty(max_size, dtype=object)\n",
|
||||
" self.max_size = max_size\n",
|
||||
" self.index = 0\n",
|
||||
" self.size = 0\n",
|
||||
|
|
Loading…
Reference in New Issue