Skip to content

Image Pipeline Playground

fix(frontend): widen spacing in Albumentations templates

Mohammad Rajaeica65cc13538f
diff --git a/backend/examples/albumentations_augment.json b/backend/examples/albumentations_augment.json
index 9f9c041..6e45466 100644
--- a/backend/examples/albumentations_augment.json
+++ b/backend/examples/albumentations_augment.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 80 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "ann-1",
@@ -19,7 +19,7 @@
"bboxes_json": "[[180, 80, 380, 320, \"face\"]]",
"keypoints_json": "[[230, 180], [320, 180], [275, 250]]"
},
- "position": { "x": 0, "y": 320 }
+ "position": { "x": 0, "y": 420 }
},
{
"id": "jitter-1",
@@ -31,13 +31,13 @@
"hue": 0.05,
"p": 1.0
},
- "position": { "x": 280, "y": 120 }
+ "position": { "x": 420, "y": 100 }
},
{
"id": "flip-1",
"type": "albu_horizontal_flip",
"params": { "p": 1.0 },
- "position": { "x": 560, "y": 120 }
+ "position": { "x": 840, "y": 100 }
}
],
"edges": [
diff --git a/backend/examples/albumentations_geometry.json b/backend/examples/albumentations_geometry.json
index 675026e..d99624c 100644
--- a/backend/examples/albumentations_geometry.json
+++ b/backend/examples/albumentations_geometry.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 80 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "ann-1",
@@ -19,7 +19,7 @@
"bboxes_json": "[[180, 80, 380, 320, \"face\"]]",
"keypoints_json": "[[230, 180], [320, 180], [275, 250]]"
},
- "position": { "x": 0, "y": 320 }
+ "position": { "x": 0, "y": 420 }
},
{
"id": "rotate-1",
@@ -29,7 +29,7 @@
"border_mode": "constant",
"p": 1.0
},
- "position": { "x": 280, "y": 120 }
+ "position": { "x": 420, "y": 100 }
},
{
"id": "affine-1",
@@ -41,7 +41,7 @@
"shear": 6,
"p": 1.0
},
- "position": { "x": 560, "y": 120 }
+ "position": { "x": 840, "y": 100 }
}
],
"edges": [
diff --git a/backend/examples/albumentations_noise_blur.json b/backend/examples/albumentations_noise_blur.json
index 9d525ee..005e2ef 100644
--- a/backend/examples/albumentations_noise_blur.json
+++ b/backend/examples/albumentations_noise_blur.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 0 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "noise-1",
@@ -21,13 +21,13 @@
"per_channel": "true",
"p": 1.0
},
- "position": { "x": 260, "y": 0 }
+ "position": { "x": 420, "y": 40 }
},
{
"id": "blur-1",
"type": "albu_motion_blur",
"params": { "blur_limit": 9, "p": 1.0 },
- "position": { "x": 520, "y": 0 }
+ "position": { "x": 840, "y": 40 }
}
],
"edges": [
diff --git a/backend/examples/albumentations_weather.json b/backend/examples/albumentations_weather.json
index 942869f..4f5f67e 100644
--- a/backend/examples/albumentations_weather.json
+++ b/backend/examples/albumentations_weather.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 0 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "fog-1",
@@ -21,13 +21,13 @@
"alpha_coef": 0.08,
"p": 1.0
},
- "position": { "x": 260, "y": 0 }
+ "position": { "x": 420, "y": 40 }
},
{
"id": "rain-1",
"type": "albu_random_rain",
"params": { "p": 1.0 },
- "position": { "x": 520, "y": 0 }
+ "position": { "x": 840, "y": 40 }
}
],
"edges": [
diff --git a/frontend/public/examples/albumentations_augment.json b/frontend/public/examples/albumentations_augment.json
index 9f9c041..6e45466 100644
--- a/frontend/public/examples/albumentations_augment.json
+++ b/frontend/public/examples/albumentations_augment.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 80 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "ann-1",
@@ -19,7 +19,7 @@
"bboxes_json": "[[180, 80, 380, 320, \"face\"]]",
"keypoints_json": "[[230, 180], [320, 180], [275, 250]]"
},
- "position": { "x": 0, "y": 320 }
+ "position": { "x": 0, "y": 420 }
},
{
"id": "jitter-1",
@@ -31,13 +31,13 @@
"hue": 0.05,
"p": 1.0
},
- "position": { "x": 280, "y": 120 }
+ "position": { "x": 420, "y": 100 }
},
{
"id": "flip-1",
"type": "albu_horizontal_flip",
"params": { "p": 1.0 },
- "position": { "x": 560, "y": 120 }
+ "position": { "x": 840, "y": 100 }
}
],
"edges": [
diff --git a/frontend/public/examples/albumentations_geometry.json b/frontend/public/examples/albumentations_geometry.json
index 675026e..d99624c 100644
--- a/frontend/public/examples/albumentations_geometry.json
+++ b/frontend/public/examples/albumentations_geometry.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 80 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "ann-1",
@@ -19,7 +19,7 @@
"bboxes_json": "[[180, 80, 380, 320, \"face\"]]",
"keypoints_json": "[[230, 180], [320, 180], [275, 250]]"
},
- "position": { "x": 0, "y": 320 }
+ "position": { "x": 0, "y": 420 }
},
{
"id": "rotate-1",
@@ -29,7 +29,7 @@
"border_mode": "constant",
"p": 1.0
},
- "position": { "x": 280, "y": 120 }
+ "position": { "x": 420, "y": 100 }
},
{
"id": "affine-1",
@@ -41,7 +41,7 @@
"shear": 6,
"p": 1.0
},
- "position": { "x": 560, "y": 120 }
+ "position": { "x": 840, "y": 100 }
}
],
"edges": [
diff --git a/frontend/public/examples/albumentations_noise_blur.json b/frontend/public/examples/albumentations_noise_blur.json
index 9d525ee..005e2ef 100644
--- a/frontend/public/examples/albumentations_noise_blur.json
+++ b/frontend/public/examples/albumentations_noise_blur.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 0 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "noise-1",
@@ -21,13 +21,13 @@
"per_channel": "true",
"p": 1.0
},
- "position": { "x": 260, "y": 0 }
+ "position": { "x": 420, "y": 40 }
},
{
"id": "blur-1",
"type": "albu_motion_blur",
"params": { "blur_limit": 9, "p": 1.0 },
- "position": { "x": 520, "y": 0 }
+ "position": { "x": 840, "y": 40 }
}
],
"edges": [
diff --git a/frontend/public/examples/albumentations_weather.json b/frontend/public/examples/albumentations_weather.json
index 942869f..4f5f67e 100644
--- a/frontend/public/examples/albumentations_weather.json
+++ b/frontend/public/examples/albumentations_weather.json
@@ -10,7 +10,7 @@
"id": "load-1",
"type": "load_image",
"params": { "path": "examples/lena.png" },
- "position": { "x": 0, "y": 0 }
+ "position": { "x": 0, "y": 40 }
},
{
"id": "fog-1",
@@ -21,13 +21,13 @@
"alpha_coef": 0.08,
"p": 1.0
},
- "position": { "x": 260, "y": 0 }
+ "position": { "x": 420, "y": 40 }
},
{
"id": "rain-1",
"type": "albu_random_rain",
"params": { "p": 1.0 },
- "position": { "x": 520, "y": 0 }
+ "position": { "x": 840, "y": 40 }
}
],
"edges": [