What is the meaning of axis=-1 in keras.argmax?
This means that the index that will be returned by argmax will be taken from the last axis. Your data has some shape (19,19,5,80). This means: Axis 0 = 19 elements Axis 1 = 19 elements Axis 2 = 5 elements Axis 3 = 80 elements Now, negative numbers work exactly like in python lists, … Read more