Repository for "AssemAI: Interpretable Image-Based Anomaly Prediction for Manufacturing Pipelines" Paper
This repository contains derived datasets, implementation of methods experimented and introduced in the paper titled "AssemAI: Interpretable Image-Based Anomaly Prediction for Manufacturing Pipelines".
The paper has been accepted at the Machine Learning for Predictive Models in Engineering Applications (MLPMEA) special session at the International Conference on Machine Learning and Applications (ICMLA) 2024
This folder includes the steps for object detection from the images in the Future Factories dataset.
The final preprocessed image dataset available at: https://drive.google.com/drive/folders/1VdIsSouurlVAFRLaZnPuemsDXLyKRN-2?usp=drive_link
To train the YOLO model run, -> py 1. Data Preprocessing/YOLO-FF.py
The folder "YOLO-FF Model for Object Detection", includes the results of the model training.
The YOLO-FF model is saved at "1. Data Preprocessing/YOLO-FF Model for Object Detection/YOLO-FF_train/weights/YOLO-FF.pt"
This folder is including the baseline models developed. Three baseline models are:
To run py .2. Baselines/custom_vit.py
To run py .2. Baselines/image_with_seg_cnn.py
To run py .2. Baselines/image_with_segmentation_vit.py
This folder includes the models for the proposed approach.
To run py .3. Proposed Anomaly Detection Model/image_with_segmentation_pretrainedcnn.py The best model is saved at "3. Proposed Anomaly Detection Model/efficientnet_model.pth"
This folder includes the codes and supplementary files on model deployment.
Below figure includes an image of a rocket assembled by Future Factories Lab.
This is a rocket Assembled by the Future Factories Lab. Any missing part is considered an anomaly: for example, the absence of Rocket body 1 is labeled as ”NoBody1,” while the absence of both Rocket body 1 and body 2 is labeled as ”NoBody2, NoBody1.”
Some visual representations of the lab setup are included in below Figure.
Some images from the FF assembly cell. The top image (Image I) is for cycle state four and bottom image (Image II) represents cycle state nine