Commit Graph
22 Commits
Author SHA1 Message Date
MythEclipse 731b5728f7 a 2026-06-12 15:24:49 +00:00
MythEclipse 1cf73aff6d b 2026-06-12 15:24:49 +00:00
MythEclipse 857a008087 a 2026-06-12 15:24:49 +00:00
MythEclipse f9bd991bdf feat(ml): implement v3.0 architecture with CBAM and calibrated inference
- Integrate Convolutional Block Attention Module (CBAM) for improved feature focus
- Implement temperature scaling and confidence-based status reporting
- Automate dataset acquisition using kagglehub
- Update ONNX opset to 18 and refine preprocessing validation
2026-06-12 15:24:49 +00:00
MythEclipseandClaude 7f17c19dc8 fix(ci): download model from Hugging Face instead of storing in repo
- Remove binary model artifacts tracked in repo (.tflite, saved_model, tfjs model.json)
- CI now downloads best_model.keras from Hugging Face Hub (MythEclipse2737/corn-leaf-disease-classifier)
- Add save_model.py step before convert_onnx.py in CI pipeline
- Remove LFS patterns from .gitattributes (no longer needed)
- Remove lfs:true from checkout action

The model is fetched at CI time using HF_TOKEN secret — no large
binary files stored in git.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 20:05:55 +00:00
MythEclipse 8137057186 a 2026-06-11 19:42:02 +00:00
MythEclipse 4377be14cd chore(Machine_Learning): update notebook execution count and outputs 2026-06-11 16:49:37 +00:00
MythEclipse c733f3bfe1 a 2026-06-11 16:39:04 +00:00
MythEclipse 8c65e33a74 chore(Machine_Learning): clear notebook outputs and add .gitignore 2026-06-11 16:31:38 +00:00
MythEclipseandClaude 7a7e5b5955 fix: update Google Drive file ID to correct dataset link
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 15:19:38 +00:00
MythEclipseandClaude b83b2e132f feat: download dataset from Google Drive when running locally
- Add  dep to requirements.txt
- Non-Colab path: download dataset_jagung.zip from Drive using file ID
  if not present locally, then extract as usual
- Keeps Colab path unchanged (drive.mount)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 15:18:25 +00:00
MythEclipseandClaude ddced09bbc feat: make notebook dual-compatible (Colab + local)
- Add IS_COLAB auto-detection (try/except google.colab)
- Guard all /content/ paths behind IS_COLAB check
- Local paths resolve relative to Machine_Learning/ directory
- Remove unused imports (tarfile, pathlib, duplicate PIL)
- Consolidate sklearn imports into cell 2

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 15:17:32 +00:00
MythEclipseandClaude e791a71425 chore: trim requirements.txt to only ML pipeline deps, fix venv path, add .venv to gitignore
- requirements.txt: 230 → 11 top-level packages (removed transitive deps, CUDA/JAX/PyTorch/HuggingFace/Jupyter noise)
- CLAUDE.md: update venv setup to point at repo-root .venv
- .gitignore: add .venv/ and venv/ entries
- Memory: record venv location to avoid duplicate creation

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 15:14:55 +00:00
MythEclipseandClaude 837cfe933a feat: push deploy pipeline - auth, sidebar layout, ML artifacts, LFS
Notable changes:
- Add .gitattributes for LFS tracking on ML model artifacts
- Add AuthGuard to all protected routes + login/register/logout flow
- Add collapsible Sidebar replacing old Navbar
- Redesign MainLayout with sidebar + mobile header
- Add password show/hide toggle to AuthForm
- Add Logout button to MobileNav
- Update footer credit to ATLAS Project - Pijak x IBM SkillsBuild
- Update deploy.yml: generate ONNX in CI (vs HuggingFace download)
- Remove deprecated ML scripts (download/upload model .sh, .gitignore)
- Remove stale MEMORY.md
- Add ML model artifacts (TFLite, SavedModel, TFJS)
- Update notebook.ipynb training pipeline

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-11 20:26:48 +07:00
MythEclipse 3e2f04413e chore(ml): remove machine learning model files 2026-06-11 20:23:57 +07:00
Asep Haryana SaputraandClaude Opus 4.7 f2e4c338bb docs: align Rust ONNX service deployment docs
- Update docker-compose.yml MODEL_PATH from best_model.keras to model.onnx
- Fix Machine_Learning/README.md TOC and section numbering (remove duplicate section 9, add Validasi Parity ONNX as section 9)
- Clarify parity validation as manual/recommended, not mandatory CI
- Update CLAUDE.md to document Rust/Axum/ONNX Runtime ML service and ONNX export workflow
- Simplify root README.md ML service section with port clarification (8001 local, 8000 container)
- Remove stale endpoint examples from root README (documented in apps/ml-service/README.md)
- Ensure no FastAPI/Uvicorn references in deployment documentation

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 10:58:08 +00:00
Asep Haryana SaputraandClaude Opus 4.7 abff278f49 docs: document Rust ONNX ML service
Update documentation to reflect migration from FastAPI/Uvicorn to Rust/Axum with ONNX Runtime:

- Root README: Update ML service description, tech stack, prerequisites, and run instructions to use Rust/Cargo instead of Python/Uvicorn
- Root README: Update model path references from best_model.keras to model.onnx
- Root README: Add model.onnx to artifact lists and generated files
- Root README: Update troubleshooting section with Rust-specific guidance
- Machine_Learning/README: Add table of contents entry for ONNX conversion
- Machine_Learning/README: Add Tahap 5 section documenting ONNX conversion with convert_onnx.py and validate_onnx_parity.py
- Machine_Learning/README: Update output table to include model.onnx with Rust ONNX Runtime usage
- apps/ml-service/README: Create comprehensive documentation for Rust Axum ONNX service including setup, endpoints, environment variables, testing, and troubleshooting

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-23 10:51:59 +00:00
Asep Haryana Saputra b6987ff329 test: add ONNX parity validation script 2026-05-23 10:32:32 +00:00
Asep Haryana Saputra 6c5a56ade3 fix: capture ONNX conversion errors 2026-05-23 10:28:34 +00:00
Asep Haryana Saputra abba07b969 fix: improve ONNX conversion logging 2026-05-23 10:26:21 +00:00
Asep Haryana Saputra 4d82bbae34 feat: add ONNX conversion script 2026-05-23 09:57:19 +00:00
elytra7 b2659dcd4e bebas 2026-05-22 14:23:45 +08:00