Class-attribute inconsistency learning for novelty detection