Knowledge memorization and generation for action recognition in still images