Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
zonghuia 485743723d | 1 year ago | |
---|---|---|
.github/workflows | 1 year ago | |
docker | 1 year ago | |
docs | 1 year ago | |
examples | 1 year ago | |
scripts | 1 year ago | |
tests | 1 year ago | |
torchsat | 1 year ago | |
.gitattributes | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
requirements.txt | 1 year ago | |
setup.py | 1 year ago | |
tox.ini | 1 year ago |
TorchSat is an open-source deep learning framework for satellite imagery analysis based on PyTorch.
This project is still work in progress. If you want to know the latest progress, please check the develop branch.
Hightlight
python3 setup.py install
We suppose all the input images, masks and bbox should be NumPy ndarray. The data shape should be [height, width] or [height, width, channels].
Pixel-level transforms only change the input image and will leave any additional targets such as masks, bounding boxes unchanged. It support all channel images. Some transforms only support specific input channles.
Transform | Image | masks | BBoxes |
---|---|---|---|
ToTensor | ✓ | ✓ | ✓ |
Normalize | ✓ | ✓ | ✓ |
ToGray | ✓ | ✓ | ✓ |
GaussianBlur | ✓ | ✓ | ✓ |
RandomNoise | ✓ | ✓ | ✓ |
RandomBrightness | ✓ | ✓ | ✓ |
RandomContrast | ✓ | ✓ | ✓ |
Spatial-level transforms will simultaneously change both an input image as well as additional targets such as masks, bounding boxes. It support all channel images.
Transform | Image | masks | BBoxes |
---|---|---|---|
Resize | ✓ | ✓ | ✓ |
Pad | ✓ | ✓ | ✓ |
RandomHorizontalFlip | ✓ | ✓ | ✓ |
RandomVerticalFlip | ✓ | ✓ | ✓ |
RandomFlip | ✓ | ✓ | ✓ |
CenterCrop | ✓ | ✓ | ✓ |
RandomCrop | ✓ | ✓ | ✓ |
RandomResizedCrop | ✓ | ✓ | ✓ |
ElasticTransform | ✓ | ✓ | |
RandomRotation | ✓ | ✓ | ✓ |
RandomShift | ✓ | ✓ | ✓ |
All models support multi-channels as input (e.g. 8 channels).
vgg11
, vgg11_bn
, vgg13
, vgg13_bn
, vgg16
, vgg16_bn
, vgg19_bn
, vgg19
resnet18
, resnet34
, resnet50
, resnet101
, resnet152
, resnext50_32x4d
,resnext101_32x8d
, wide_resnet50_2
, wide_resnet101_2
densenet121
, densenet169
, densenet201
inception_v3
mobilenet_v2
efficientnet_b0
, efficientnet_b1
, efficientnet_b2
, efficientnet_b3
,efficientnet_b4
, efficientnet_b5
, efficientnet_b6
, efficientnet_b7
resnest50
, resnest101
, resnest200
, resnest269
unet
, unet34
, unet101
, unet152
(with resnet as backbone.)If you extend this repository or build projects that use it, we'd love to hear from you.
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》