Installation¶
There are two ways to install MindSight:
- One-click install -- the recommended path for researchers and lab machines. A double-click installer sets up everything: a self-contained Python, MindSight with locked dependencies, the required model weights, and an app launcher. You do not need Python -- or anything else -- installed first.
- Developer install -- an editable source checkout for contributing, running the tests, or platforms without a prebuilt installer.
One-click install (recommended)¶
- Download the release zip for your platform --
MindSight-1.0.0-mac.ziporMindSight-1.0.0-win.zip-- from the GitHub Releases page. - Extract it somewhere you can find again (Desktop or Downloads is fine).
-
Run the installer:
Right-click (or Control-click)
Install-MindSight.commandand choose Open, then click Open in the Gatekeeper dialog. A plain double-click only offers "Move to Trash" -- right-click → Open is the way past this for an unsigned in-house tool.Double-click
Install-MindSight.bat. If the blue "Windows protected your PC" SmartScreen box appears, click More info → Run anyway (expected -- the in-house tool is unsigned). -
A console/Terminal window walks through setup and finishes with
MindSight install: PASS.
When it finishes you get /Applications/MindSight.app plus a Desktop link
on macOS, and Start Menu and Desktop shortcuts on Windows. Launch it like
any other app and you land on the GUI Tour.
Re-running is safe -- and how you update
Running the installer again updates an existing install and skips work that is already done. When a new MindSight release ships, download the new zip and re-run.
Platform-specific detail (Gatekeeper/SmartScreen notes, first-launch camera
permissions, install locations) lives in
installer/INSTALL-MACOS.md
and
installer/INSTALL-WINDOWS.md.
Where the installed files end up is covered in
Where things live.
Developer install¶
Prerequisites¶
- Python 3.10 or newer
- A GPU is optional -- CPU works; CUDA (NVIDIA) or MPS/CoreML (Apple Silicon) accelerate inference
Apple Silicon users
The standard onnxruntime dependency includes the CoreML execution
provider on macOS -- ONNX inference is accelerated out of the box, and no
CUDA installation is needed.
Clone the repository¶
Install dependencies¶
All dependencies are declared in pyproject.toml (the single source of truth,
with a committed uv.lock pinning exact versions). With
uv (recommended):
or with plain pip in a virtual environment:
Editable install
The editable install registers the mindsight package and installs the
mindsight, mindsight-gui, and mindsight-weights commands.
PyTorch acceleration
The default PyPI wheels give you MPS on Apple Silicon and CUDA on Linux
out of the box; Windows installs run PyTorch on CPU. For NVIDIA ONNX
inference, replace onnxruntime with onnxruntime-gpu.
Download model weights¶
Weights live in Weights/{backend}/ and are managed by a checksummed manifest
(weights_manifest.json) -- the same one the GUI's Models tab uses:
mindsight-weights # the 4 required weights (default)
mindsight-weights --all # every downloadable weight
mindsight-weights --backend MGaze # one backend (repeatable)
mindsight-weights --verify-only # check checksums, download nothing
mindsight-weights --dry-run # show what would be downloaded
(python scripts/download_weights.py is an equivalent wrapper for a checkout
where the console command is not on PATH.)
What gets downloaded¶
| Backend | Required set | Notes |
|---|---|---|
| YOLO / YOLOE | yolov8n.pt |
Larger YOLOv8 and YOLOE variants are optional, fetched with --all or on demand |
| MobileGaze | resnet50_gaze.onnx, mobileone_s0_gaze.onnx |
PyTorch variants optional, in Weights/MGaze/ |
| Gaze-LLE | gazelle_dinov2_vitb14.pt |
The larger vitl14 checkpoint is optional, in Weights/Gazelle/ |
| MobileClip | -- | mobileclip_blt.ts is auto-fetched by Ultralytics on first visual-prompt use |
Verify the installation¶
You should see the full list of command-line flags. Then take the CLI quickstart for a first run.
Troubleshooting¶
CUDA not found¶
- Verify your NVIDIA driver is installed:
nvidia-smi - Ensure you installed the CUDA-compatible PyTorch build. See pytorch.org/get-started for the correct install command.
- Confirm
onnxruntime-gpuis installed instead of the CPU-onlyonnxruntime.
Missing model weights¶
- Run
mindsight-weights --verify-onlyto see what is present, mismatched, or missing. - Download the missing backend with
mindsight-weights --backend MGaze(or use the GUI's Models tab).
Reinstall doesn't seem to pick up an update¶
If you re-ran the installer but the app still looks out of date, a cached package may have been reused. Clear it and re-run the installer:
(The installer's uv lives on your PATH after any install; on Windows run the
same command in the installer's console.)
Import errors¶
- Make sure your virtual environment is activated.
- Re-run
pip install opencv-python(or the missing package). - On headless servers, use
opencv-python-headlessinstead ofopencv-python.
PyQt6 issues on Linux¶
- Install system-level Qt dependencies:
Still stuck?
Open an issue on the repository with the full error traceback and your pip list output.