N-shot and Zero-shot learning with Python