Downloads · 30 days
0
stfnnnnnnn/moodplay
moodplay is a machine learning model from stfnnnnnnn. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
1. Visual Studio Code 2. Python 3.10.9 3. Python 3.11.9 4. Miniconda 5. Git 6. Visual Studio Build Tools 2022 7. NVIDIA Cuda Toolkit version 12.1 or 12.8
Downloads · 30 days
0
Access
Public
Updated Apr 24, 2026
Repo size
14.3 GB
Likes
0
Public
Click a slice to open those files.
.ckpt4.3 GB · 42%
From the Hugging Face model README
This repository contains a Streamlit app and a multi-stage perception pipeline:
gdino310 conda environment through subprocess isolation for Windows stability.scripts/gdino_worker.py, src/perception/grounding_dino_detector.py): open-vocabulary box proposal generation.src/perception/sam_segmenter.py): per-box mask generation and multimask candidate selection.src/perception/cotracker_wrapper.py): persistent motion-aware track support and temporal continuity.src/perception/xmem_wrapper.py): optional long-range temporal propagation.src/perception/segmentation.py): fusion, association, depth-aware subtraction, and end-to-end phase execution.Two conda environments are required:
vidcolor for the main app (SAM2/CoTracker)gdino310 for GroundingDINO (separate env for Windows DLL stability)powershell -ExecutionPolicy Bypass -File .\setup_windows.ps1
setup_windows.ps1 is the primary installer for this repository. It creates/updates vidcolor and gdino310, installs GroundingDINO, installs XMem dependencies in vidcolor, prefetches SD1.5 inpainting + ControlNet model assets, and keeps YOLO compatibility installation.
Optional wrapper script is also available:
powershell -ExecutionPolicy Bypass -File .\setup.ps1
conda env create -f environment.yml
conda activate vidcolor
# Install CUDA-enabled torch
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
# Install remaining deps
python -m pip install -r requirements.txt
# Streamlit launcher (already included in requirements)
python -m pip install -U streamlit
# Install XMem runtime dependencies
python -m pip install -r XMem/requirements.txt
# Ensure base XMem dependencies are present
python -m pip install torch torchvision opencv-python pillow tqdm
Install YOLO compatibility packages (optional runtime path, retained intentionally):
python -m pip install -U ultralytics
Verify CUDA:
python -c "import torch; print(torch.__version__, torch.version.cuda, torch.cuda.is_available())"
# Optional: prefetch SD1.5 inpainting + ControlNet assets so first inference is instant
python scripts/prefetch_sd15_inpaint_assets.py --config configs/model/sd15_controlnet.yaml
conda env create -f environment-gdino310.yml
conda activate gdino310
# Install CUDA-enabled torch
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
# Install GroundingDINO from source
python -m pip install -U git+https://github.com/IDEA-Research/GroundingDINO.git
Pin transformers to avoid BERT API breakages:
python -m pip uninstall -y transformers
python -m pip install "transformers==4.26.1"
Sanity checks:
python -c "import torch; print(torch.__version__, torch.version.cuda, torch.cuda.is_available())"
python -c "import groundingdino._C as C; print('groundingdino _C ok')"
Place checkpoints in the following paths:
GroundingDINO config file:
Open configs/perception/grounding_dino.yaml and set:
conda_exe to your conda.battorch_lib_dir to the gdino310 torch lib directorycuda_bin_dir to your CUDA bin pathDefault values are already set for a typical Windows layout:
C:\Users\LENOVO\miniconda3\condabin\conda.bat
C:\Users\LENOVO\miniconda3\envs\gdino310\Lib\site-packages\torch\lib
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.4\bin
conda activate vidcolor
streamlit run app.py
gdino310 via conda run from the main app.vidcolor from XMem/requirements.txt plus base packages (torch, torchvision, opencv-python, pillow, tqdm).conda is not found by subprocess, update conda_exe in
configs/perception/grounding_dino.yaml.