Here's a training example in caffe Jupyter example
At block In [15]:
for test_it in range(100):
solver.test_nets[0].forward()
correct += sum(solver.test_nets[0].blobs['score'].data.argmax(1)
== solver.test_nets[0].blobs['label'].data)
test_acc[it // test_interval] = correct / 1e4
I can't understand what is the data structure behind this operation. argmax(1), why (1)?
'label' seems to be a character, how to make them equal?
I can't understand the datastructure. Is there a website where I can get better understanding of them?