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…