Metadata-Version: 2.1
Name: roofAI
Version: 4.25.1
Summary: 🏛️ everything AI about roofs.
Home-page: https://github.com/kamangir/roofAI
Author: Arash Abadpour (Kamangir)
Author-email: arash@kamangir.net
License: Public Domain
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Unix Shell
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: blueness
Requires-Dist: abcli
Requires-Dist: notebooks-and-scripts
Requires-Dist: albumentations[imgaug] ==1.3.0
Requires-Dist: boto3
Requires-Dist: efficientnet-pytorch
Requires-Dist: geojson
Requires-Dist: geopandas
Requires-Dist: kaggle
Requires-Dist: matplotlib
Requires-Dist: opencv-python
Requires-Dist: pretrainedmodels
Requires-Dist: pymysql ==0.10.1
Requires-Dist: pyyaml
Requires-Dist: pylint
Requires-Dist: pytest
Requires-Dist: python-dotenv[cli]
Requires-Dist: sagemaker <3,>=2
Requires-Dist: segmentation-models-pytorch
Requires-Dist: scipy
Requires-Dist: shapely
Requires-Dist: timm
Requires-Dist: torch
Requires-Dist: tqdm

# roofAI 🏛️

everything AI about roofs. 🏛️

🔷 [datasets](https://raw.githubusercontent.com/kamangir/roofAI/main/roofAI/dataset) 🔷 [notebooks](https://raw.githubusercontent.com/kamangir/roofAI/main/notebooks/) 🔷 [semseg](https://raw.githubusercontent.com/kamangir/roofAI/main/roofAI/semseg) 🔷 [inference](https://raw.githubusercontent.com/kamangir/roofAI/main/roofAI/inference) 🔷 [QGIS](https://raw.githubusercontent.com/kamangir/roofAI/main/roofAI/QGIS/console/) 🔷 [sagemaker](https://raw.githubusercontent.com/kamangir/roofAI/main/roofAI/semseg/sagemaker/) 🔷

```bash
 > roof help
roofAI inference create \
	[dryrun,model] \
	[.|<object-name>] \
	[--verbose 1] \
	[--verify 0]
 . create inference model.
roofAI inference create \
	[dryrun,endpoint_config,suffix=<suffix>] \
	[.|<object-name>] \
	[--verbose 1] \
	[--verify 0]
 . create inference endpoint config.
roofAI inference create \
	[dryrun,endpoint,config_suffix=<suffix>,suffix=<suffix>] \
	[.|<object-name>] \
	[--verbose 1] \
	[--verify 0]
 . create inference endpoint.
roofAI inference delete \
	[dryrun,model|endpoint_config|endpoint] \
	<name> \
	[--verbose 1]
 . delete inference object.
roofAI inference describe \
	[dryrun,endpoint] \
	<name> \
	[--verbose 1]
 . describe inference endpoint.
roofAI inference list \
	[dryrun,model|endpoint_config|endpoint,contains=<string>] \
	[--verbose 1]
 . list inference objects.
roofAI inference pull \
	[dryrun]
 . pull the inference image.
QGIS seed
 . seed 🌱 QGIS.
QGIS expressions pull
 . pull QGIS expressions.
QGIS expressions push [push]
 . push QGIS expressions.
 📂 /Users/kamangir/Library/Application Support/QGIS/QGIS3/profiles/default/python/expressions
 📂 /Users/kamangir/git/roofAI/roofAI/QGIS/expressions
semseg list
 . list registered semseg models.
semseg predict \
	[device=cpu|cuda,~download,dryrun,profile=FULL|DECENT|QUICK|DEBUG|VALIDATION,upload] \
	<model-object-name> \
	<dataset-object-name> \
	<prediction-object-name>
 . semseg[<model-object-name>].predict(<dataset-object-name>) -> <prediction-object-name>.
semseg train \
	[device=cpu|cuda,~download,dryrun,profile=FULL|DECENT|QUICK|DEBUG|VALIDATION,register,suffix=<v1>,upload] \
	<dataset-object-name> \
	<model-object-name> \
	[--activation <sigmoid>] \
	[--classes <one+two+three+four>] \
	[--encoder_name <se_resnext50_32x4d>] \
	[--encoder_weights <imagenet>]
 . semseg.train(<dataset-object-name>) -> <model-object-name>.
roofAI dataset ingest \
	[source=AIRS,dryrun,open,register,suffix=<v1>,upload] \
	<object-name> \
	[--test_count <10>] \
	[--train_count <10>] \
	[--val_count <10>]
 . ingest AIRS -> <object-name>.
roofAI dataset ingest \
	[source=CamVid,dryrun,open,register,suffix=<v1>,upload] \
	<object-name>
 . ingest CamVid -> <object-name>.
roofAI dataset review \
	[download,dryrun,open] \
	<object-name> \
	[--count <1>] \
	[--index <index>] \
	[--subset <subset>]
 . review <object-name>.
roofAI pytest \
	[~download,dryrun,list,~log,plugin=<plugin-name>,warning] \
	[filename.py|filename.py::test]
 . pytest roofAI.
roofAI test [~dataset,dryrun,~semseg]
 . test roofAI.
```

![image](https://github.com/kamangir/assets/blob/main/roofAI/2023-11-12-20-30-49-02592-predict.gif?raw=true)

---

To use on [AWS SageMaker](https://aws.amazon.com/sagemaker/) replace `<plugin-name>` with `roofAI` and follow [these instructions](https://github.com/kamangir/blue-plugin/blob/main/SageMaker.md).
