How to read confidence in classification?

You can write the log into a file.
For example

tlt-infer classification -m xxx.tlt -k $KEY -b 32 -i $TEST_IMAGE -cm classmap.json 2>&1 |tee log.txt