Traceback (most recent call last):
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\ops\script_ops.py", line 270, in __call__
ret = func(*args)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 642, in wrapper
return func(*args, **kwargs)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1030, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 831, in wrapped_generator
for data in generator_fn():
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 957, in generator_fn
yield x[i]
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 51, in __getitem__
X, y = self.__data_generation(list_IDs_temp)
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 104, in __data_generation
return np.asarray(X).squeeze(1), [np.asarray(yPolicy),np.asarray(yValue)]
numpy.AxisError: axis 1 is out of bounds for array of dimension 1
52/108 [=============>................] - ETA: 24s - loss: 5.4423 - policy_loss: 3.9115 - win_loss: 1.5309Traceback (most recent call last):
File "G:\HearthstoneRLBot\training\training.py", line 46, in <module>
trainNetwork(model, GET_DATA())
File "G:\HearthstoneRLBot\training\training.py", line 26, in trainNetwork
model.fit_generator(generator=trainingGenerator,workers=1,use_multiprocessing=False,epochs=1)
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\training.py", line 2260, in fit_generator
return self.fit(
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\utils\traceback_utils.py", line 67, in error_handler
raise e.with_traceback(filtered_tb) from None
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\eager\execute.py", line 54, in quick_execute
tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.InvalidArgumentError: Graph execution error:
2 root error(s) found.
(0) INVALID_ARGUMENT: AxisError: axis 1 is out of bounds for array of dimension 1
Traceback (most recent call last):
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\ops\script_ops.py", line 270, in __call__
ret = func(*args)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 642, in wrapper
return func(*args, **kwargs)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1030, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 831, in wrapped_generator
for data in generator_fn():
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 957, in generator_fn
yield x[i]
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 51, in __getitem__
X, y = self.__data_generation(list_IDs_temp)
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 104, in __data_generation
return np.asarray(X).squeeze(1), [np.asarray(yPolicy),np.asarray(yValue)]
numpy.AxisError: axis 1 is out of bounds for array of dimension 1
[[{{node PyFunc}}]]
[[IteratorGetNext]]
[[categorical_crossentropy/softmax_cross_entropy_with_logits/Shape_2/_10]]
(1) INVALID_ARGUMENT: AxisError: axis 1 is out of bounds for array of dimension 1
Traceback (most recent call last):
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\ops\script_ops.py", line 270, in __call__
ret = func(*args)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\autograph\impl\api.py", line 642, in wrapper
return func(*args, **kwargs)
File "G:\Miniconda\envs\tf2\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1030, in generator_py_func
values = next(generator_state.get_iterator(iterator_id))
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 831, in wrapped_generator
for data in generator_fn():
File "G:\Miniconda\envs\tf2\lib\site-packages\keras\engine\data_adapter.py", line 957, in generator_fn
yield x[i]
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 51, in __getitem__
X, y = self.__data_generation(list_IDs_temp)
File "G:\HearthstoneRLBot\DataGeneratorFile.py", line 104, in __data_generation
return np.asarray(X).squeeze(1), [np.asarray(yPolicy),np.asarray(yValue)]
numpy.AxisError: axis 1 is out of bounds for array of dimension 1
[[{{node PyFunc}}]]
[[IteratorGetNext]]
0 successful operations.
0 derived errors ignored. [Op:__inference_train_function_52477]