ilham86 commited on
Commit
f44156f
·
verified ·
1 Parent(s): ffaef9c

ilham push 6

Browse files
src/__pycache__/eda.cpython-39.pyc CHANGED
Binary files a/src/__pycache__/eda.cpython-39.pyc and b/src/__pycache__/eda.cpython-39.pyc differ
 
src/eda.py CHANGED
@@ -62,11 +62,11 @@ def run():
62
  st.markdown("""
63
  ##### Exploration:
64
 
65
- This project aims to classify construction site conditions into **safe** or **unsafe** categories using deep learning.
66
-
67
- The model is trained using a MobileNetV2 backbone and achieves high performance in real-world safety image classification.
68
-
69
- The tool supports maintenance planning, reduces on-site risks, and improves safety compliance.
70
  """)
71
 
72
  if __name__ == '__main__':
 
62
  st.markdown("""
63
  ##### Exploration:
64
 
65
+ - From the visualization results, it can be seen that the images mostly depict people performing tasks in industrial environments across various sectors such as manufacturing, construction, and others. What stands out in the images are the safety helmets and vests, which have much brighter colors compared to other objects. Notably, in the unsafe class, there are also images of people wearing safety helmets but not wearing safety vests, this is good for model learning as it prevents bias, such as assuming that wearing a helmet only implies safety. There are also some images that do not show full of people but only body parts or PPE only.
66
+ - From the dataset, it's apparent that the image sizes are consistent, and all images have the same pixel dimensions, allowing the model to properly see each one. The image sizes will also be resized uniformly during model preprocessing.
67
+ - These images are of people in work environments. The color channels are kept in RGB format because PPE (Personal Protective Equipment) typically comes in bright, vivid colors.
68
+ - The images are mostly landscape or portrait photos of people working in various workplace settings, taken from different angles and distances (both close-up and wide shots). This variation may help the model learn more comprehensively, but the challenge is whether the dataset is large and varied enough for effective learning.
69
+ - Another challenge is that the images involve different activities, locations, and body positions, with individuals wearing various types of PPE. Therefore, evaluating model performance carefully is crucial to ensure prediction accuracy.
70
  """)
71
 
72
  if __name__ == '__main__':
src/model.keras CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:26a2d7705619c325e56fb10b812e3ce228a49f237cbbe2ec3007328ae67699e3
3
  size 73791076
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9344e856145ae6130e1bed151d619fc7117ec43df452965782f6225ae97b2c8
3
  size 73791076