Skip to content

Instantly share code, notes, and snippets.

View mosure's full-sized avatar
👾

Mitchell Mosure mosure

👾
View GitHub Profile
@mosure
mosure / gist:1dc89a4052ca4a275d75b4c3ef7b211c
Created February 11, 2025 22:30
tensorboard_images_to_videos.py
import glob
import os
import argparse
import cv2
import numpy as np
import tensorflow as tf
from tqdm import tqdm
# compatible with https://github.com/fudan-zvg/4d-gaussian-splatting
import sys
from argparse import ArgumentParser
from arguments import ModelParams, PipelineParams, OptimizationParams
import numpy as np
from omegaconf import OmegaConf
from omegaconf.dictconfig import DictConfig
from plyfile import PlyData, PlyElement

Connect via SSH to a Slurm compute job that runs as Enroot container

Being able to SSH directly into a compute job has the advantage of using all remote development tools such as using your IDE's debugger also for GPU jobs (VSCode, PyCharm, ...).

  • Slurm: Scheduling system that many HPC clusters use
  • Enroot: Container system like Docker for NVIDIA GPUs

General problem:

@mosure
mosure / orthodoxc++.md
Created March 14, 2022 03:11 — forked from bkaradzic/orthodoxc++.md
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?