Skip to content

Instantly share code, notes, and snippets.

@JiamingSuen
JiamingSuen / AligLog.txt
Last active September 26, 2017 08:41
DGX-1 SSD diagnose
SAS RAID Management Tool Command Line Utilities
===================================================
Adapter #0
Date/Time: Mon Sep 25 04:35:11 PM
Operating System: Linux version 4.4.0-75-generic
Physical Memory: 528277792 KB
Operating Version: Linux version 4.4.0-75-generic
name: "crl"
layer {
name: "Image1"
type: "Input"
top: "img0"
input_param { shape: { dim: 1 dim: 3 dim: 320 dim: 1792 } }
}
layer {
name: "Image2"
type: "Input"
@JiamingSuen
JiamingSuen / ray_caster.py
Created October 15, 2019 06:38
Ray casting in python with Trimesh and pyembree
"""
Adapted from trimesh example raytrace.py
----------------
Install `pyembree` for a speedup (600k+ rays per second)
"""
import PIL.Image
import trimesh
import numpy as np
from typing import List