- 2011 - A trip through the Graphics Pipeline 2011
- 2015 - Life of a triangle - NVIDIA's logical pipeline
- 2015 - Render Hell 2.0
- 2016 - How bad are small triangles on GPU and why?
- 2017 - GPU Performance for Game Artists
- 2019 - Understanding the anatomy of GPUs using Pokémon
- 2020 - GPU ARCHITECTURE RESOURCES
This file contains 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
from __future__ import print_function | |
import requests | |
import json | |
import cv2 | |
addr = 'http://localhost:5000' | |
test_url = addr + '/api/test' | |
# prepare headers for http request | |
content_type = 'image/jpeg' |
This file contains 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
// A quick and dirty DLL injector | |
// This method relies on static linkage and the fact that kernel32 doesn't move | |
// Compile with the same bitness as the target and the dll. | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <Psapi.h> | |
#include <stdio.h> | |
int GetPid(char *modName) | |
{ |
This file contains 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
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
rem choco install visualstudio2013professional %1 -y | |
rem choco install visualstudio2015professional %1 -y | |
rem choco install teamviewer9 %1 -y | |
chocolatey install paint.net %1 -y | |
chocolatey install tortoisegit %1 -y | |
chocolatey install tortoisesvn %1 -y | |
chocolatey install autodesk-fusion360 %1 -y | |
chocolatey install f.lux %1 -y | |
chocolatey install sysinternals %1 -y |
This file contains 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
// ==UserScript== | |
// @name sketchfab2obj | |
// @description Save Sketchfab models as obj | |
// @author <anonimus> | |
// | |
// Version Number | |
// @version 1.62 | |
// | |
// Urls process this user script on | |
// @include /^https?://(www\.)?sketchfab\.com/models/.* |
This file contains 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
[net] | |
# Training | |
# batch=128 | |
# subdivisions=2 | |
# Testing | |
batch=1 | |
subdivisions=1 | |
height=256 |
This file contains 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
#pip install pafy | |
#sudo pip install --upgrade youtube_dl | |
import cv2, pafy | |
url = "https://www.youtube.com/watch______" | |
video = pafy.new(url) | |
best = video.getbest(preftype="webm") | |
#documentation: https://pypi.org/project/pafy/ | |
capture = cv2.VideoCapture(best.url) |
This file contains 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
commit 6fac225de0575b18550f9421196f90a2279c44af | |
Author: Tiago Koji Castro Shibata <tiago.shibata@gmail.com> | |
Date: Fri Dec 28 23:13:14 2018 -0200 | |
Fix compilation with latest OpenCV | |
C APIs were removed and must be replaced with C++ calls | |
diff --git a/Makefile b/Makefile | |
index 63e15e6..c148d4b 100644 |
This file contains 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
import json | |
import os | |
import plugin_api | |
# | |
def IsUsefulInput(viewtype): | |
return viewtype == "CBV" or viewtype == "IBV" or viewtype == "VBV" or viewtype == "SRV" | |
def DumpBufferByDrawcall(folder, call, res, id, texture): | |
if not os.path.exists(folder): |
- A simple note for how to start multi-node-training on slurm scheduler with PyTorch.
- Useful especially when scheduler is too busy that you cannot get multiple GPUs allocated, or you need more than 4 GPUs for a single job.
- Requirement: Have to use PyTorch DistributedDataParallel(DDP) for this purpose.
- Warning: might need to re-factor your own code.
- Warning: might be secretly condemned by your colleagues because using too many GPUs.