Skip to content

Instantly share code, notes, and snippets.

View Delshi's full-sized avatar
💭
Dungeon Master

Delman Delshi Delshi

💭
Dungeon Master
View GitHub Profile
@Delshi
Delshi / README.md
Last active November 28, 2025 22:07
PyTorch Poetry Boilerplate — CUDA 12.8 & CPU-only (package-mode = false).

PyTorch Poetry Boilerplate (CUDA + CPU)

Ready-to-use pyproject.toml templates for PyTorch-based neural network projects, optimized for both local development and future PyPI distribution.


Files

  • pyproject-cuda128.toml — installs PyTorch with CUDA 12.8 support from the official PyTorch wheel index.
  • pyproject-cpu.toml — pure CPU-only version using standard PyPI wheels.
@Delshi
Delshi / extract_ILSVRC.sh
Created November 24, 2025 21:15 — forked from BIGBALLON/extract_ILSVRC.sh
script for ImageNet data extract.
#!/bin/bash
#
# script to extract ImageNet dataset
# ILSVRC2012_img_train.tar (about 138 GB)
# ILSVRC2012_img_val.tar (about 6.3 GB)
# make sure ILSVRC2012_img_train.tar & ILSVRC2012_img_val.tar in your current directory
#
# https://github.com/facebook/fb.resnet.torch/blob/master/INSTALL.md
#
# train/
@Delshi
Delshi / Remove_VMwareTools.ps1
Created July 8, 2025 00:58 — forked from broestls/Remove_VMwareTools.ps1
Force removal of VMware Tools, Program Files, and Windows Services
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes.
# This function pulls out the common ID used for most of the VMware registry entries along with the ID
# associated with the MSI for VMware Tools.
function Get-VMwareToolsInstallerID {
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) {
If ($item.GetValue('ProductName') -eq 'VMware Tools') {
return @{
reg_id = $item.PSChildName;