PANDAS: Prototype-based Novel Class Discovery and Detection