First, here is my SimpleTuner LoRA config, so you can get started with it. I used an 80GB A100 (thanks @bghira!).
LoRA repository:
First, here is my SimpleTuner LoRA config, so you can get started with it. I used an 80GB A100 (thanks @bghira!).
LoRA repository:
| import fs from 'node:fs' | |
| import path from 'node:path' | |
| import url from 'node:url' | |
| import {removeBackground} from '@imgly/background-removal-node' | |
| const P = (...vs: string[]) => path.resolve(...vs) | |
| async function remove_bg(filename: string) { | |
| const prj_dir = P(url.fileURLToPath(import.meta.url), '../..') // assuming we're in src/foo.ts | |
| const dist_dir = P(prj_dir, 'node_modules/@imgly/background-removal-node/dist') |
| import cv2 | |
| # variables | |
| # distance from camera to object(face) measured | |
| Known_distance = 30 #centimeter | |
| # width of face in the real world or Object Plane | |
| Known_width =14.3 | |
| # Colors | |
| GREEN = (0,255,0) | |
| RED = (0,0,255) | |
| WHITE = (255,255,255) |
Andy Thomason is a Senior Programmer at Genomics PLC. He has been witing graphics systems, games and compilers since the '70s and specialises in code performance.
| #!/usr/bin/env python3 | |
| import numpy as np | |
| from PIL import Image | |
| import imageio | |
| import OpenEXR | |
| import struct | |
| import os | |
| def get_pointcloud(color_image,depth_image,camera_intrinsics): |
| mkdir coco | |
| cd coco | |
| mkdir images | |
| cd images | |
| wget http://images.cocodataset.org/zips/train2017.zip | |
| wget http://images.cocodataset.org/zips/val2017.zip | |
| wget http://images.cocodataset.org/zips/test2017.zip | |
| wget http://images.cocodataset.org/zips/unlabeled2017.zip |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.