Skip to main content

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.
  1. 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.

  2. Install NVIDIA WSL GPU driver on Windows

    Download “CUDA enabled driver for WSL” from NVIDIA’s site, run the installer, then reboot Windows.

  3. 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

  1. 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

  1. 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

  1. 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

meyelens-0.1.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meyelens-0.1.0-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file meyelens-0.1.0.tar.gz.

File metadata

  • Download URL: meyelens-0.1.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

Hashes for meyelens-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d86d71d37de08376dad6cb1280af767659c8f2387acfc20a9143744def6cdfd6
MD5 5e9281579daf764645b5c6135b1ffa70
BLAKE2b-256 1cac33d0a4d66d51d76dd928b488585f0de06d43847ab80a318097f75a62560f

See more details on using hashes here.

File details

Details for the file meyelens-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: meyelens-0.1.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

Hashes for meyelens-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd6adb09c506bed0899eea543334ea16afc39c5e98e80ab6c2fb79f193261463
MD5 836eeda565bcdbb28d0cbe26157ef141
BLAKE2b-256 940f783c318628bac31c8eb27adcab0209755b7bb4ddef2e963968b313d504d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page