- Number representation
- Unsigned: represented in traditional binary
- On n-bit architecture, (2^n) total
- (Umax=2^n-1) (minus one because of zero)
- All operations are technically modulo (2^n)
- Unsigned: represented in traditional binary
- Ints are not integers!
This file contains hidden or 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
DB = "datasets/colmap/argoverse/sample/abbrev30-c6911883-1843-3727-8eaa-41dc8cda8993/database.db" | |
ARGO_ROOT = "datasets/argoverse/argoverse-tracking/sample/c6911883-1843-3727-8eaa-41dc8cda8993" | |
LIDAR_STAMP = 315978421520424000 # This lidar location is the model origin (must match lidar PLY to compare against) | |
from argoverse.data_loading.pose_loader import get_city_SE3_egovehicle_at_sensor_t | |
import re | |
from pathlib import Path | |
import sqlite3 | |
db = sqlite3.connect(DB) |
This file contains hidden or 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
#! /bin/sh -e | |
# Located anywhere on client | |
# Replace "user@server" appropriately | |
ssh -L 5900:127.0.0.1:5900 -C -t user@server ./startvnc-server.sh |
This file contains hidden or 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
#!/usr/bin/python | |
import cv2 | |
import numpy as np | |
import yaml | |
from os.path import join | |
from collections import OrderedDict | |
def load_cam(cam_dict): | |
intrinsics = cam_dict["intrinsics"] |