Gaze-tracking and pupillometry with MEYE
Project description
MEYElens
Quick checklist – fresh install of WSL + GPU-enabled TensorFlow (Windows 11 / Windows 10 21H2+)
All commands are meant for PowerShell (admin) or Ubuntu 22.04 inside WSL as noted.
-
Install WSL and Ubuntu
Open PowerShell as Administrator
wsl --install
Reboot when prompted.Launch Ubuntu from the Start menu and create a Linux username and password.
-
Install NVIDIA WSL GPU driver on Windows
Download “CUDA enabled driver for WSL” from NVIDIA’s site, run the installer, then reboot Windows.
-
Prepare Ubuntu repositories (inside WSL)
import NVIDIA key
sudo mkdir -p /usr/share/keyrings
curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-archive-keyring.gpg
| sudo tee /usr/share/keyrings/cuda-archive-keyring.gpg >/dev/null
CUDA repo
echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg]
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
| sudo tee /etc/apt/sources.list.d/cuda.list
cuDNN repo
echo "deb [signed-by=/usr/share/keyrings/cuda-archive-keyring.gpg]
https://developer.download.nvidia.com/compute/cudnn/repos/ubuntu2204/x86_64/ /"
| sudo tee /etc/apt/sources.list.d/cudnn.list
sudo apt update
- Install minimal CUDA 12.4 runtime and cuDNN 8.9
sudo apt install -y cuda-compat-12-4 libcudnn8 libcudnn8-dev
Add runtime path:
echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/lib/wsl/lib:$LD_LIBRARY_PATH' >> ~/.bashrc source ~/.bashrc sudo ldconfig
Verify cuDNN appears:
ldconfig -p | grep cudnn | head
- Install Miniconda and TensorFlow
Miniconda (run once)
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh source ~/.bashrc
create env and install TF built for CUDA 12 + cuDNN 8.9
conda create -n tf python=3.10 -y conda activate tf pip install --upgrade pip pip install --no-deps tensorflow==2.16.2
- Confirm everything
driver visible?
nvidia-smi
TensorFlow sees GPU?
python - <<'PY' import tensorflow as tf print("TF:", tf.version) print("GPUs:", tf.config.list_physical_devices('GPU')) PY
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meyelens-0.2.0.tar.gz.
File metadata
- Download URL: meyelens-0.2.0.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77b40b2356846c168dd84930414ce74641ebad5177dff46c9bfbed5bff43929f
|
|
| MD5 |
b9908a0ea443bc4e07ef43ede8884d2f
|
|
| BLAKE2b-256 |
17c4ccf493a70cbd28b0f78fecdaf54be4a9488500ea2bd464e59c9f39dd9adf
|
File details
Details for the file meyelens-0.2.0-py3-none-any.whl.
File metadata
- Download URL: meyelens-0.2.0-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
329d108f6eb682cb0c0e39561069021a3247a45146c0db582d3afabd960c987c
|
|
| MD5 |
883499b858e03d53644b26ad789c28f3
|
|
| BLAKE2b-256 |
16529822278632cfe293235391758e2b4850703d195b8fb4b6bc89a187bb220b
|