Traceback (most recent call last):
File "D:\downloads\Game-Bot-master\get_dataset.py", line 21, in get_dataset
X = np.load('Data/npy_train_data/X.npy')
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'Data/npy_train_data/X.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 31, in
main()
File "train.py", line 24, in main
X, X_test, Y, Y_test = get_dataset()
File "D:\downloads\Game-Bot-master\get_dataset.py", line 41, in get_dataset
Y = to_categorical(Y, count_categori[0]+1)
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\utils\np_utils.py", line 72, in to_categorical
num_classes = np.max(y) + 1
File "<__array_function__ internals>", line 6, in amax
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 2706, in amax
keepdims=keepdims, initial=initial, where=where)
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity
Traceback (most recent call last): File "D:\downloads\Game-Bot-master\get_dataset.py", line 21, in get_dataset X = np.load('Data/npy_train_data/X.npy') File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\lib\npyio.py", line 416, in load fid = stack.enter_context(open(os_fspath(file), "rb")) FileNotFoundError: [Errno 2] No such file or directory: 'Data/npy_train_data/X.npy'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "train.py", line 31, in
main()
File "train.py", line 24, in main
X, X_test, Y, Y_test = get_dataset()
File "D:\downloads\Game-Bot-master\get_dataset.py", line 41, in get_dataset
Y = to_categorical(Y, count_categori[0]+1)
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\utils\np_utils.py", line 72, in to_categorical
num_classes = np.max(y) + 1
File "<__array_function__ internals>", line 6, in amax
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 2706, in amax
keepdims=keepdims, initial=initial, where=where)
File "C:\Users\For36\AppData\Local\Programs\Python\Python36\lib\site-packages\numpy\core\fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity