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>
This commit is contained in:
@@ -9,6 +9,8 @@ dist/
|
|||||||
build/
|
build/
|
||||||
coverage/
|
coverage/
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
|||||||
@@ -14,11 +14,10 @@ The ML pipeline lives under `Machine_Learning/`. The inference service lives und
|
|||||||
cd Machine_Learning
|
cd Machine_Learning
|
||||||
```
|
```
|
||||||
|
|
||||||
Set up a Python environment:
|
Activate the Python environment (already exists at repo root):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python -m venv venv
|
source ../.venv/bin/activate
|
||||||
source venv/bin/activate
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
tensorflow>=2.13.0
|
tensorflow==2.19.0 # CPU + Colab; for local GPU, install tensorflow[and-cuda]
|
||||||
tensorflowjs>=4.10.0
|
tensorflowjs==4.22.0
|
||||||
jupyter>=1.0.0
|
numpy
|
||||||
ipykernel>=6.25.0
|
matplotlib
|
||||||
tf2onnx>=1.16.1
|
seaborn
|
||||||
onnx>=1.16.0
|
pillow
|
||||||
onnxruntime>=1.17.0
|
split-folders
|
||||||
|
scikit-learn
|
||||||
|
tf2onnx
|
||||||
|
onnxruntime
|
||||||
|
|||||||
Reference in New Issue
Block a user