CoolFace
Datasetpublic

codeShare/workspace

wdv3-timm small example thing showing how to use timm to run the WD Tagger V3 models. How To Use clone the repository and enter the directory: git clone https://github.com/neggles/wdv3-timm.git cd wd3-timm Create a virtual environment and install the Python requirements. If you're using Linux, you can use the provided script: bash setup.sh Or if you're on Windows (or just want to do it manually), you can do the following: # Create virtual environment… See the full description on the dataset page: https://huggingface.co/datasets/codeShare/workspace.

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes25downloads
setup.sh25 linesDownload Raw Back to root
1#!/usr/bin/env bash2set -euo pipefail3 4# get the folder this script is in and make sure we're in it5script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P)6cd "${script_dir}"7 8# make venv if not exist9if [[ ! -d .venv ]]; then10    echo "Creating virtual environment..."11    python3.10 -m venv .venv12fi13 14# activate the venv15source .venv/bin/activate16 17# upgrade pip18python -m pip install -U pip setuptools wheel19 20# install requirements21python -m pip install -r requirements.txt22 23echo "Setup complete. Run 'source .venv/bin/activate' to enter the virtual environment."24exit 025