Handle photos without section

Also process the error argument, and merged classify.yml into trainer.yml.0