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