Skip to content

Instantly share code, notes, and snippets.

View fcakyon's full-sized avatar
💭
I may be slow to respond.

fatih akyon fcakyon

💭
I may be slow to respond.
View GitHub Profile
@fcakyon
fcakyon / UpdateDLSS.ps1
Created February 1, 2025 15:52 — forked from emoose/UpdateDLSS.ps1
PowerShell script/module that allows globally updating DLSS for all games
# Global DLSS update script by emoose - https://gist.github.com/emoose/11271bbb3b42fb3b1b0e1c83eef47c05
# Allows setting up driver to use a single global DLSS DLL for majority of DLSS2/3 games
# If the global version is newer than the one included with game, it should get loaded automatically
# (how this works: https://forums.guru3d.com/threads/.439761/page-143#post-6221767)
#
# Almost all DLSS3 games should work, DLSS2 is hit-and-miss
# (DLSS2 games with customized appid probably won't work, thanks to some pointless nvngx checks)
# DLSSD/DLSSG should work fine with nearly all games (re-run the script for each DLL you want to update)
#
# Usage:
model = YOLO()
for input_path in args.files:
video = Video(input_path=input_path)
tracker = Tracker(
distance_function=euclidean_distance,
distance_threshold=max_distance_between_points,
)
for frame in video:
# To build docker image using dockerfile:
docker build -t new_image_name:tag_name -f Dockerfile.custom .
# To build docker image from container:
docker commit container_id new_image_name:tag_name
# To create docker container using docker image (also mount host directory into docker):
nvidia-docker run -v /host/directory/to/mount/:/docker/directory/ -ti image_name:tag_name
# To start existing docker container:
docker start container_id
docker exec -it container_id /bin/bash
# To continue currently running docker container: