This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: |