diff options
Diffstat (limited to 'cnn_v3/docs')
| -rw-r--r-- | cnn_v3/docs/HOW_TO_CNN.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cnn_v3/docs/HOW_TO_CNN.md b/cnn_v3/docs/HOW_TO_CNN.md index 4e64d23..020f79c 100644 --- a/cnn_v3/docs/HOW_TO_CNN.md +++ b/cnn_v3/docs/HOW_TO_CNN.md @@ -289,6 +289,13 @@ pip install torch torchvision pillow numpy opencv-python cd cnn_v3/training ``` +**With `uv` (no pip needed):** dependencies are declared inline in `train_cnn_v3.py` +and installed automatically on first run: +```bash +cd cnn_v3/training +uv run train_cnn_v3.py --input dataset/ --epochs 1 --patch-size 32 --detector random +``` + ### Quick-start commands **Smoke test — 1 epoch, validates end-to-end without GPU:** |
