S3 Object Storage

Object storage In object storage systems, data blocks that make up a file or “object”, together with its metadata, are all kept together. Extra metadata is added to each object, which makes it possible to access data with no hierarchy. All objects are placed in a unified address space. In Read more…

Tao Toolkit installation

Install Tao Toolkit conda create -n Tao-launcher python=3.6.9 conda env remove -n Tao-launcher conda install pip pip install nvidia-tao tao –help NGC docker registry cli show nvcr credentials: cat /home/epi/.docker/config.json docker login nvcr.io ngc -h ngc registry -h ngc registry model -h ngc registry model list ngc registry model list Read more…

Function Currying

Currying can create a new function by reducing an existing function’s argument list. In Python, currying is done by functools.partial: from functools import partial def foo(a,b): return a+b bar = partial(foo, a=1) # equivalent to: foo(a=1, b) bar(b=10) #11 = 1+10 bar(a=101, b=10) #111=101+10 Roughly partial does this: def partial(func, Read more…

CSP concurrent prime filter

CSP concurrent prime sieve the sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the first prime number, 2. The multiples of a given Read more…

Visual SLAM – Bundle Adjustment

1. FoundationIn feature point-based visual SLAM, we generally optimize the camera pose and map point location by minimizing the reprojection error. The following is an introduction to this issue.1.1 Map parameteriseTwo method: 3-d vector $X=\left[ x,y,z \right]^{T}$ , or inverse depth parametrization. Here we use 3-d vector for simplicity.1.2 Camera Read more…

Mathjax samples

check TeX sourceRight-click on one of the math tables below and choose Show Math As TeX Commands. This will show Mathjax source. inline mode vs display mode For inline formulas, enclose the formula in single dollarThese render differently. For example,  $e=mc^2$,, $\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$  and $\sum_{i=0}^N\int_{a}^{b}g(t,i)\text{d}t$  is inline mode.This Read more…