You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-32Lines changed: 41 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -455,63 +455,72 @@ The following is a demo of image inference
455
455
456
456
## 📝 Pixi Cheat Sheet
457
457
Here are some useful tasks you can run with Pixi. You must install pixi on your machine first. See the [installation](#-installation) section for more details.
458
-
For all the commands below, you can add `-e cuda`if you have a CUDA enabled GPU on your machine.
459
458
460
-
Run a quickstart to check if your environment is setup correctly. By default, this will run in a CPU environment.
459
+
> [!NOTE]
460
+
> For all commands below, you can add `-e cuda` to run in a CUDA-enabled environment instead of CPU.
461
+
462
+
### 🚀 Getting Started
461
463
```bash
464
+
# Check environment setup (CPU)
462
465
pixi run quickstart
463
-
```
464
466
465
-
or to run in a CUDA enabled environment
466
-
```bash
467
+
# Check environment setup (CUDA)
467
468
pixi run -e cuda quickstart
468
469
```
469
470
470
-
Live inference with pretrained model on webcam
471
+
### 🎥 Inference Commands
471
472
```bash
473
+
# Live inference with pretrained model (webcam)
472
474
pixi run -e cuda live-inference-pretrained --webcam
473
-
```
474
475
475
-
Run live inference on a custom onnx model
476
-
```bash
477
-
pixi run -e cuda live-inference --onnx model.onnx --webcam --provider cuda --class-names classes.txt --inference-size 640
478
-
```
479
-
480
-
> [!TIP]
481
-
> If you want to use TensorRT for inference, you may need to set the `LD_LIBRARY_PATH` environment variable to include the TensorRT libraries. To do so, navigate into the base directory of this repo and run the following command.
I'm not affiliated with the original DEIM authors. I just found the model interesting and wanted to try it out. The changes made here are of my own. Please cite and star the original repo if you find this useful.
0 commit comments