From c65d690a735b38cc2df935be5952b9447b794b82 Mon Sep 17 00:00:00 2001 From: DefTruth Date: Sun, 13 Feb 2022 20:58:40 +0800 Subject: [PATCH] feat(pypi): update torchml pypi v0.1.1 (#8) --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e4ecc9a..f08d8b2 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,20 @@ * albumentations>=1.1.0 ### Installation -you can install **torchlm** directly from pip. +you can install **torchlm** directly from [pypi](https://pypi.org/project/torchlm/). ```shell pip3 install torchlm # install from specific pypi mirrors use '-i' pip3 install torchlm -i https://pypi.org/simple/ ``` +or install from source. +```shell +# clone torchlm repository locally +git clone --depth=1 https://github.com/DefTruth/torchlm.git +cd torchlm +# install in editable mode +pip install -e . +``` ### Data Augmentation **torchlm** provides 30+ native data augmentations for landmarks and is compatible with 80+ transforms from torchvision and albumations, no matter the input is a np.ndarray or a torch Tensor, torchlm will automatically be compatible with different data types through a autodtype wrapper.