Anomaly detection in nanofibrous materials by CNN-based self-similarity