Spaces:
Sleeping
Sleeping
File size: 4,561 Bytes
e484a46 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
# π
PROJECT_TIMELINE.md
## AI-Driven Polymer Aging Prediction and Classification System
**Intern:** Jaser Hasan
### β
PHASE 1 β Project Kickoff and Faculty Guidance
**Tag:** `@project-init-complete`
Received first set of research tasks from Prof. Kuppannagari
- Reeived research plan
- Objectives defined: download datasets, analyze spectra, implement CNN, run initial inference
---
### β
PHASE 2 β Dataset Acquisition (Local System)
**Tag:** `@data-downloaded`
- Downloaded Raman `.txt` (RDWP) and FTIR `.csv` data (polymer packaging)
- Structured into:
- `datasets/rdwp`
- `datasets/ftir`
---
### β
PHASE 3 β Data Exploration & Spectral Validation
**Tag:** `@data-exploration-complete`
- Built plotting tools for Raman and FTIR
- Validated spectrum structure, removed malformed samples
- Observed structural inconsistencies in FTIR multi-layer grouping
---
### β
PHASE 4 β Preprocessing Pipeline Implementation
**Tag:** `@data-prep`
- Implemented `preprocess_dataset.py` for Raman
- Applied: Resampling -> Baseline correction -> Smoothing -> Normalization
- Confirmed reproducible input/output behavior and dynamic CLI control
### β
PHASE 5 β Figure2CNN Architecture Build
**Tag:** `@figure2cnn-complete`
- Constructed `Figure2CNN` modeled after Figure 2 CNN from research paper
- `Figure2CNN`: 4 conv layers + 3 FC layers
- Verified dynamic input length handling (e.g., 500, 1000, 4000)
---
### β
PHASE 6 β Local Training and Inference
**Tag:** `@figure2cnn-training-local`
- Trained Raman models locally (FTIR now deferred)
- Canonical Raman accuracy: **87.29% Β± 6.30%**
- FTIR accuracy results archived and excluded from current validation
- CLI tools for training, inference, plotting implemented
---
### β
PHASE 7 β Reproducibility and Documentation Setup
**Tag:** `@project-docs-started`
- Authored `README.md`, `PROJECT_REPORT.md`, and `ENVIRONMENT_GUIDE.md`
- Defined reproducibility guidelines
- Standardized project structure and versioning
---
### β
PHASE 8 β HPC Access and Venv Strategy
**Tag:** `@hpc-login-successful`
- Logged into CWRU Pioneer (SSH via PuTTY)
- Setup up FortiClient VPN as it is required to access Pioneer remotely
- Explored module system; selected venv over Conda for compatibility
- Loaded Python 3.12.3 + created `polymer_env`
---
### β
PHASE 9 β HPC Environment Sync
**Tag:** `@venv-alignment-complete`
- Created `environment_hpc.yml`
- Installed dependencies into `polymer_env`
- Validated imports, PyTorch installation, and CLI script execution
---
### β
PHASE 10 β Full Instruction Validation on HPC
**Tag:** `@prof-k-instruction-validation-complete`
- Ran Raman preprocessing and plotting scripts
- Executed `run_inference.py` with CLI on raw Raman `.txt` file
- Verified consistent predictions and output logging across local and HPC
---
### β
PHASE 11 β FTIR Path Paused, Raman Declared Primary
**Tag:** `@raman-pipeline-focus-milestone`
- FTIR modeling formally deferred
- FTIR preprocessing scripts preserved and archived for future use
- All resources directed toward Raman pipeline finalization
- Saliency, FTIR ingestion, and `train_ftir_model.py` archived
---
### β
PHASE 12 β ResNet1D Prototyping & Benchmark Setup
**Tag:** `@resnet-prototype-complete`
- Built `ResNet1D` architecture in `models/resnet_cnn.py`
- Integrated `train_model.py` via `--model resnet`
- Ran initial CV training with successful results
---
### β
PHASE 13 β Output Artifact Isolation
**Tag:** `@artifact-isolation-complete`
- Patched `train_model.py` to save:
- `figure2_model.pth`, `resnet_model.pth`
- `raman_figure2_diagnostics.json`. `raman_resnet_diagnostics.json`
- Prevented all overwrites by tying output filenames to `args.model`
- Snapshotted as reproducibility milestone. Enabled downstream validation harness.
### β
PHASE 14 β Canonical Validation Achieved
**Tag:** `@validation-loop-complete`
- Created `validate_pipeline.sh` to verify preprocessing, training, inferece, plotting
- Ran full validation using `Figure2CNN` with reproducible CLI config
- All ouputs verified: logs, artifacts, predictions, plots
- Declared Raman pipeline scientifically validated and stable
---
### βοΈ NEXT - Results Analysis & Finalization
- Analyze logged diagnostics for both models
- Conduct optional hyperparameter tuning (batch size, LR)
- Begin deliverable prep: visuals, posters, cards
- Resume FTIR work only after Raman path is fully stablized and documented & open FTIR conceptual error is resolved |