hamming loss added in future work and image loc methdo