How nguonheng23dev/blood_cell_image_cnn_repo works
This is a TensorFlow/Keras coursework pipeline that classifies single white-blood-cell images into four classes. Its main workflow discovers images from Kaggle and LISC layouts, splits and preprocesses data, trains a CNN, then evaluates the saved best checkpoint and generates Grad-CAM visualizations. The README documents additional figures and reports. The implementation is concentrated in one script; edges reflect its sampled calls and documented task sequence, rather than separate runtime services.
Main entry points: results_tf Result files · blood_cell_image_cnn_tf.py Test evaluation
Components 15
Data preparation
- Dataset discovery
blood_cell_image_cnn_tf.py - Stratified split
blood_cell_image_cnn_tf.py - Image preprocessing
blood_cell_image_cnn_tf.py - Image augmentation
blood_cell_image_cnn_tf.py
Model training
- CNN classifier
blood_cell_image_cnn_tf.py - Model training
blood_cell_image_cnn_tf.py - Checkpoint and LR
blood_cell_image_cnn_tf.py
Evaluation and interpretation
- Convergence analysis
blood_cell_image_cnn_tf.py - Test evaluation
blood_cell_image_cnn_tf.py - Grad-CAM views
blood_cell_image_cnn_tf.py
Run artifacts
- Result files
results_tf
Other components
- Pipeline user
- Kaggle images
- Original BCCD images
- LISC test images
Connections 20
- Pipeline user → Dataset discovery: runs pipeline
README.md - Kaggle images → Dataset discovery: provides images
blood_cell_image_cnn_tf.py - Original BCCD images → Dataset discovery: provides originals
blood_cell_image_cnn_tf.py - LISC test images → Dataset discovery: provides test images
blood_cell_image_cnn_tf.py - Dataset discovery → Stratified split: splits training set
blood_cell_image_cnn_tf.py - Stratified split → Image preprocessing: loads and resizes
blood_cell_image_cnn_tf.py - Image preprocessing → Image augmentation: transforms samples
blood_cell_image_cnn_tf.py - Image augmentation → CNN classifier: feeds model
blood_cell_image_cnn_tf.py - CNN classifier → Model training: compiled for fit
blood_cell_image_cnn_tf.py - Model training → Checkpoint and LR: uses callbacks
blood_cell_image_cnn_tf.py - Model training → Convergence analysis: analyzes history
blood_cell_image_cnn_tf.py - Checkpoint and LR → Result files: saves checkpoint
blood_cell_image_cnn_tf.py - Convergence analysis → Result files: writes analysis
blood_cell_image_cnn_tf.py - Result files → Test evaluation: loads checkpoint
blood_cell_image_cnn_tf.py - Test evaluation → Kaggle images: tests on split
blood_cell_image_cnn_tf.py - Test evaluation → Original BCCD images: tests originals
blood_cell_image_cnn_tf.py - Test evaluation → LISC test images: tests LISC set
blood_cell_image_cnn_tf.py - Test evaluation → Result files: writes reports
README.md - Result files → Grad-CAM views: loads checkpoint
blood_cell_image_cnn_tf.py - Grad-CAM views → Result files: saves heatmaps
README.md