diff --git a/hub/examples/image_retraining/label_image.py b/hub/examples/image_retraining/label_image.py index 6fcb6088..7dc74aa2 100644 --- a/hub/examples/image_retraining/label_image.py +++ b/hub/examples/image_retraining/label_image.py @@ -69,6 +69,11 @@ def wiki(celestial_object): statistics = "\n".join(['-- {}: {}'.format(parameter, value) for parameter, value in req_statistics.items()]) print("{}\n\n".format(statistics)) print(wikipedia.WikipediaPage(title='{}'.format(ans)).summary) + elif ans == 'irregular': + print("--------------------------------------------------------") + print("Classified Celestial Object is {} Galaxy : ".format(ans.capitalize())) + print("-------------------------------------------------------- \n") + print(wikipedia.WikipediaPage(title='{}'.format(ans)).summary) return " " print(wiki(celestial_object)) diff --git a/hub/examples/image_retraining/test_data/irregular_1.jpg b/hub/examples/image_retraining/test_data/irregular_1.jpg new file mode 100644 index 00000000..0952cba2 Binary files /dev/null and b/hub/examples/image_retraining/test_data/irregular_1.jpg differ diff --git a/hub/examples/image_retraining/test_data/irregular_2.jpg b/hub/examples/image_retraining/test_data/irregular_2.jpg new file mode 100644 index 00000000..2ce65383 Binary files /dev/null and b/hub/examples/image_retraining/test_data/irregular_2.jpg differ diff --git a/hub/examples/image_retraining/test_data/irregular_3.jpg b/hub/examples/image_retraining/test_data/irregular_3.jpg new file mode 100644 index 00000000..e555c184 Binary files /dev/null and b/hub/examples/image_retraining/test_data/irregular_3.jpg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (1).jpeg b/hub/examples/image_retraining/training_data/irregular/download (1).jpeg new file mode 100644 index 00000000..9861e6b2 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (1).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (10).jpeg b/hub/examples/image_retraining/training_data/irregular/download (10).jpeg new file mode 100644 index 00000000..22283dd9 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (10).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (11).jpeg b/hub/examples/image_retraining/training_data/irregular/download (11).jpeg new file mode 100644 index 00000000..9984dc76 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (11).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (12).jpeg b/hub/examples/image_retraining/training_data/irregular/download (12).jpeg new file mode 100644 index 00000000..dcd7dc1f Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (12).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (13).jpeg b/hub/examples/image_retraining/training_data/irregular/download (13).jpeg new file mode 100644 index 00000000..050c6339 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (13).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (14).jpeg b/hub/examples/image_retraining/training_data/irregular/download (14).jpeg new file mode 100644 index 00000000..373ad7ce Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (14).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (15).jpeg b/hub/examples/image_retraining/training_data/irregular/download (15).jpeg new file mode 100644 index 00000000..c319a435 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (15).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (16).jpeg b/hub/examples/image_retraining/training_data/irregular/download (16).jpeg new file mode 100644 index 00000000..612c3438 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (16).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (17).jpeg b/hub/examples/image_retraining/training_data/irregular/download (17).jpeg new file mode 100644 index 00000000..48b61f6a Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (17).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (18).jpeg b/hub/examples/image_retraining/training_data/irregular/download (18).jpeg new file mode 100644 index 00000000..1784715a Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (18).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (19).jpeg b/hub/examples/image_retraining/training_data/irregular/download (19).jpeg new file mode 100644 index 00000000..e4671ee6 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (19).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (2).jpeg b/hub/examples/image_retraining/training_data/irregular/download (2).jpeg new file mode 100644 index 00000000..357efc8c Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (2).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (3).jpeg b/hub/examples/image_retraining/training_data/irregular/download (3).jpeg new file mode 100644 index 00000000..f28bc2ad Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (3).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (4).jpeg b/hub/examples/image_retraining/training_data/irregular/download (4).jpeg new file mode 100644 index 00000000..10da0380 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (4).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (5).jpeg b/hub/examples/image_retraining/training_data/irregular/download (5).jpeg new file mode 100644 index 00000000..6f1a9404 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (5).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (6).jpeg b/hub/examples/image_retraining/training_data/irregular/download (6).jpeg new file mode 100644 index 00000000..aea7b38c Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (6).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (7).jpeg b/hub/examples/image_retraining/training_data/irregular/download (7).jpeg new file mode 100644 index 00000000..f2844d6c Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (7).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (8).jpeg b/hub/examples/image_retraining/training_data/irregular/download (8).jpeg new file mode 100644 index 00000000..6a95cbae Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (8).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download (9).jpeg b/hub/examples/image_retraining/training_data/irregular/download (9).jpeg new file mode 100644 index 00000000..50fcf0e2 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download (9).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/download.jpeg b/hub/examples/image_retraining/training_data/irregular/download.jpeg new file mode 100644 index 00000000..ef19e4e6 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/download.jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/images (1).jpeg b/hub/examples/image_retraining/training_data/irregular/images (1).jpeg new file mode 100644 index 00000000..f4d15132 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/images (1).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/images (2).jpeg b/hub/examples/image_retraining/training_data/irregular/images (2).jpeg new file mode 100644 index 00000000..57b9e54f Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/images (2).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/images (3).jpeg b/hub/examples/image_retraining/training_data/irregular/images (3).jpeg new file mode 100644 index 00000000..23c7e094 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/images (3).jpeg differ diff --git a/hub/examples/image_retraining/training_data/irregular/images.jpeg b/hub/examples/image_retraining/training_data/irregular/images.jpeg new file mode 100644 index 00000000..a3bd4f17 Binary files /dev/null and b/hub/examples/image_retraining/training_data/irregular/images.jpeg differ