blue-sandbox 5.118.1__py3-none-any.whl → 5.133.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- blue_sandbox/.abcli/tests/sagesemseg_train.sh +32 -0
- blue_sandbox/__init__.py +1 -1
- blue_sandbox/config.env +3 -1
- blue_sandbox/env.py +7 -2
- blue_sandbox/list.py +2 -2
- {blue_sandbox-5.118.1.dist-info → blue_sandbox-5.133.1.dist-info}/METADATA +3 -3
- {blue_sandbox-5.118.1.dist-info → blue_sandbox-5.133.1.dist-info}/RECORD +10 -9
- {blue_sandbox-5.118.1.dist-info → blue_sandbox-5.133.1.dist-info}/LICENSE +0 -0
- {blue_sandbox-5.118.1.dist-info → blue_sandbox-5.133.1.dist-info}/WHEEL +0 -0
- {blue_sandbox-5.118.1.dist-info → blue_sandbox-5.133.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
#! /usr/bin/env bash
|
2
|
+
|
3
|
+
function test_roofAI_sagemaker_train() {
|
4
|
+
local options=$1
|
5
|
+
local do_dryrun=$(abcli_option_int "$options" dryrun 0)
|
6
|
+
|
7
|
+
abcli_log_warning "🚧 may incur cost 💰, disabled."
|
8
|
+
do_dryrun=1
|
9
|
+
|
10
|
+
abcli_eval dryrun=$do_dryrun \
|
11
|
+
conda activate $(roofAI_conda environment_name sagemaker)
|
12
|
+
|
13
|
+
local dataset_object_name=dataset-$(abcli_string_timestamp)
|
14
|
+
|
15
|
+
abcli_eval dryrun=$do_dryrun \
|
16
|
+
roofAI dataset ingest \
|
17
|
+
source=AIRS,target=sagemaker,$2 \
|
18
|
+
$dataset_object_name \
|
19
|
+
--test_count 0 \
|
20
|
+
--train_count 16 \
|
21
|
+
--val_count 16
|
22
|
+
|
23
|
+
local model_object_name=model-$(abcli_string_timestamp)
|
24
|
+
|
25
|
+
abcli_eval dryrun=$do_dryrun \
|
26
|
+
sagesemseg train \
|
27
|
+
,$3 \
|
28
|
+
$dataset_object_name \
|
29
|
+
$model_object_name \
|
30
|
+
--instance_type ml.g4dn.2xlarge \
|
31
|
+
"${@:4}"
|
32
|
+
}
|
blue_sandbox/__init__.py
CHANGED
blue_sandbox/config.env
CHANGED
@@ -1,3 +1,5 @@
|
|
1
1
|
DAMAGES_TEST_DATASET_OBJECT_NAME=Maui-Hawaii-fires-Aug-23-ingest-2025-01-10-qqJqhm
|
2
2
|
|
3
|
-
|
3
|
+
SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_debug_v2=sagesemseg-model-2025-01-11-22-00-08-bW-2025-01-12-06-00-08-928
|
4
|
+
|
5
|
+
SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2=sagesemseg-model-2025-01-12-15-52-20-ly-2025-01-12-23-52-20-582
|
blue_sandbox/env.py
CHANGED
@@ -12,7 +12,12 @@ DAMAGES_TEST_DATASET_OBJECT_NAME = os.getenv(
|
|
12
12
|
|
13
13
|
ENCODED_BLOB_SAS_TOKEN = os.getenv("ENCODED_BLOB_SAS_TOKEN", "")
|
14
14
|
|
15
|
-
|
16
|
-
"
|
15
|
+
SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_debug_v2 = os.getenv(
|
16
|
+
"SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_debug_v2",
|
17
|
+
"",
|
18
|
+
)
|
19
|
+
|
20
|
+
SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2 = os.getenv(
|
21
|
+
"SAGESEMSEG_COMPLETED_JOB_pascal_voc_v1_full_v2",
|
17
22
|
"",
|
18
23
|
)
|
blue_sandbox/list.py
CHANGED
@@ -3,8 +3,8 @@ list_of_experiments = {
|
|
3
3
|
"ICON": "🌀",
|
4
4
|
"title": "A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker.",
|
5
5
|
"url": "https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md",
|
6
|
-
"marquee": "https://github.com/kamangir/assets/
|
7
|
-
"status": "
|
6
|
+
"marquee": "https://github.com/kamangir/assets/blob/main/blue-sandbox/sagesemseg-predict.png?raw=true",
|
7
|
+
"status": "⏸️",
|
8
8
|
},
|
9
9
|
"`@damages`": {
|
10
10
|
"ICON": "🌐",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: blue_sandbox
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.133.1
|
4
4
|
Summary: 🌀 A sandbox for ideas and experiments.
|
5
5
|
Home-page: https://github.com/kamangir/blue-sandbox
|
6
6
|
Author: Arash Abadpour (Kamangir)
|
@@ -55,11 +55,11 @@ pip install blue-sandbox
|
|
55
55
|
|
56
56
|
| | |
|
57
57
|
| --- | --- |
|
58
|
-
| 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md)
|
58
|
+
| 🌀[`sagesemseg`](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) ⏸️ [](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/sagesemseg/README.md) A SemSeg (Semantic Segmenter) trained and deployed on AWS Sagemaker. | 🌐[``@damages``](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) ⏸️ [](https://github.com/kamangir/blue-sandbox/blob/main/blue_sandbox/microsoft_building_damage_assessment/README.md) Satellite imagery damage assessment workflow |
|
59
59
|
|
60
60
|
---
|
61
61
|
|
62
62
|
|
63
63
|
[](https://github.com/kamangir/blue-sandbox/actions/workflows/pylint.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/pytest.yml) [](https://github.com/kamangir/blue-sandbox/actions/workflows/bashtest.yml) [](https://pypi.org/project/blue-sandbox/) [](https://pypistats.org/packages/blue-sandbox)
|
64
64
|
|
65
|
-
built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.
|
65
|
+
built by 🌀 [`blue_options-4.185.1`](https://github.com/kamangir/awesome-bash-cli), based on 🌀 [`blue_sandbox-5.133.1`](https://github.com/kamangir/blue-sandbox).
|
@@ -1,11 +1,11 @@
|
|
1
1
|
blue_sandbox/README.py,sha256=AGJRj2u50FeYFd4ooGg0WucPI5E6lZxdqrJTXQ4-BCc,1658
|
2
|
-
blue_sandbox/__init__.py,sha256=
|
2
|
+
blue_sandbox/__init__.py,sha256=fsjZ1GuNOuA1y4Cn2PvCXo_x8mktXWEp0v4V7ABZegc,323
|
3
3
|
blue_sandbox/__main__.py,sha256=aPRHSpGpk-bDbzhHpfLNsd3y1gGEHpnhoTF-RBweNwc,361
|
4
|
-
blue_sandbox/config.env,sha256=
|
5
|
-
blue_sandbox/env.py,sha256=
|
4
|
+
blue_sandbox/config.env,sha256=V66pxIEv4ZSBK3XKVD7_Ubqld5EQTH5-HLfF_7j8UvU,307
|
5
|
+
blue_sandbox/env.py,sha256=Fw8_TYRE8kG49c1M9MCz62tW7Ulgbpr4Mof-F5xzVlY,519
|
6
6
|
blue_sandbox/functions.py,sha256=U41kQFNPpfYV6KJpMnkqgqLkozqXiG4tgV6rj8IW1BU,7
|
7
7
|
blue_sandbox/host.py,sha256=uJpiM105rnm6ySF16zA7waWekGBdec-dlpoRRU_QqwU,210
|
8
|
-
blue_sandbox/list.py,sha256=
|
8
|
+
blue_sandbox/list.py,sha256=ly9ZwbsO4hr67sbLjjsIJzzJMX4Mi-ftyabyFelans8,1034
|
9
9
|
blue_sandbox/logger.py,sha256=ZoFrTIfJJGNtZUm2d7lkQjdB2SPl_KBKDmHJOcIivPM,107
|
10
10
|
blue_sandbox/sample.env,sha256=ovfKDKAIeuqWBmMDKeAint_SKTnZuyDU1TCBZ-Y3Iqg,28
|
11
11
|
blue_sandbox/urls.py,sha256=tIZ36ONJEoUBM-tFhOpkVhLwb1OgLegUeEaBDqW4USM,24
|
@@ -33,6 +33,7 @@ blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest.sh,sha256=
|
|
33
33
|
blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_ingest_list.sh,sha256=5P0H-FHV7YKt1fenXAs_0cSFhJYWZ9u3LzRpfSRSptw,577
|
34
34
|
blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_label.sh,sha256=Envac5i9eGa5usDCO8MYfGFfyAZAT-f0KrrsAkaR91U,311
|
35
35
|
blue_sandbox/.abcli/tests/microsoft_building_damage_assessment_train.sh,sha256=0FlwyR1drn6wAKX9IHU_ma7WTmH1Iv8DoTNsdsyj3PA,533
|
36
|
+
blue_sandbox/.abcli/tests/sagesemseg_train.sh,sha256=GQmZscd2507sy3Kz3LPN_O7Dso_wQB3d6SzNwB7bXeE,863
|
36
37
|
blue_sandbox/.abcli/tests/version.sh,sha256=jF8zoJN1eKE3LfDeRVG9uHEosmEVJX6RtKfdioyeN-o,150
|
37
38
|
blue_sandbox/help/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
38
39
|
blue_sandbox/help/__main__.py,sha256=3Cqp5oISrZCOUApmwoQoCj_0sQgtkiEkm_ob3LFKzRE,234
|
@@ -44,8 +45,8 @@ blue_sandbox/microsoft_building_damage_assessment/ingest.py,sha256=tBchn4dWPIqAr
|
|
44
45
|
blue_sandbox/microsoft_building_damage_assessment/label.py,sha256=mpRNOsF8ChxSLwOyvwGmXiD7aO2xfivJPZTC5qwnLaw,823
|
45
46
|
blue_sandbox/microsoft_building_damage_assessment/sas_token.py,sha256=t6oTXc6C52CH3tFbQo2H9YUB_7upAsfUwws43Iu9pHI,214
|
46
47
|
blue_sandbox/microsoft_building_damage_assessment/train.py,sha256=8DUt0S4LuKkRIi9XpASOg5skPaM3D2VaSBg5FEn8qog,2778
|
47
|
-
blue_sandbox-5.
|
48
|
-
blue_sandbox-5.
|
49
|
-
blue_sandbox-5.
|
50
|
-
blue_sandbox-5.
|
51
|
-
blue_sandbox-5.
|
48
|
+
blue_sandbox-5.133.1.dist-info/LICENSE,sha256=ogEPNDSH0_dhiv_lT3ifVIdgIzHAqNA_SemnxUfPBJk,7048
|
49
|
+
blue_sandbox-5.133.1.dist-info/METADATA,sha256=1KWLC_dMek4vq8tx2_ZmebTn1Sh6Zmoxu-mWEsxfJpc,3079
|
50
|
+
blue_sandbox-5.133.1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
51
|
+
blue_sandbox-5.133.1.dist-info/top_level.txt,sha256=4D9Cb9QUCaqdYAmBiCwvtlaYBtUYVVxv0Sxcr_pzgS8,13
|
52
|
+
blue_sandbox-5.133.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|