diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..1190bf13fce26f11ecbc206f8ca24e6ffec41f81 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,53 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +images/apple.jpg filter=lfs diff=lfs merge=lfs -text +images/apricot.jpg filter=lfs diff=lfs merge=lfs -text +images/asparagus.jpg filter=lfs diff=lfs merge=lfs -text +images/avocado.jpg filter=lfs diff=lfs merge=lfs -text +images/banana.jpg filter=lfs diff=lfs merge=lfs -text +images/bell_pepper.jpg filter=lfs diff=lfs merge=lfs -text +images/blackberry.jpg filter=lfs diff=lfs merge=lfs -text +images/blueberry.jpg filter=lfs diff=lfs merge=lfs -text +images/broccoli.jpg filter=lfs diff=lfs merge=lfs -text +images/cabbage.jpg filter=lfs diff=lfs merge=lfs -text +images/cantaloupe.jpg filter=lfs diff=lfs merge=lfs -text +images/carrot.jpg filter=lfs diff=lfs merge=lfs -text +images/cauliflower.jpg filter=lfs diff=lfs merge=lfs -text +images/celery.jpg filter=lfs diff=lfs merge=lfs -text +images/cherry.jpg filter=lfs diff=lfs merge=lfs -text +images/coconut.jpg filter=lfs diff=lfs merge=lfs -text +images/corn.jpg filter=lfs diff=lfs merge=lfs -text +images/cranberry.jpg filter=lfs diff=lfs merge=lfs -text +images/cucumber.jpg filter=lfs diff=lfs merge=lfs -text +images/date.jpg filter=lfs diff=lfs merge=lfs -text +images/dragon_fruit.jpg filter=lfs diff=lfs merge=lfs -text +images/eggplant.jpg filter=lfs diff=lfs merge=lfs -text +images/fig.jpg filter=lfs diff=lfs merge=lfs -text +images/grape.jpg filter=lfs diff=lfs merge=lfs -text +images/grapefruit.jpg filter=lfs diff=lfs merge=lfs -text +images/guava.jpg filter=lfs diff=lfs merge=lfs -text +images/honeydew.jpg filter=lfs diff=lfs merge=lfs -text +images/kiwi.jpg filter=lfs diff=lfs merge=lfs -text +images/leek.jpg filter=lfs diff=lfs merge=lfs -text +images/lettuce.jpg filter=lfs diff=lfs merge=lfs -text +images/mango.jpg filter=lfs diff=lfs merge=lfs -text +images/nectarine.jpg filter=lfs diff=lfs merge=lfs -text +images/orange.jpg filter=lfs diff=lfs merge=lfs -text +images/papaya.jpg filter=lfs diff=lfs merge=lfs -text +images/passion_fruit.jpg filter=lfs diff=lfs merge=lfs -text +images/pea.jpg filter=lfs diff=lfs merge=lfs -text +images/peach.jpg filter=lfs diff=lfs merge=lfs -text +images/pear.jpg filter=lfs diff=lfs merge=lfs -text +images/pineapple.jpg filter=lfs diff=lfs merge=lfs -text +images/plum.jpg filter=lfs diff=lfs merge=lfs -text +images/pomegranate.jpg filter=lfs diff=lfs merge=lfs -text +images/potato.jpg filter=lfs diff=lfs merge=lfs -text +images/radish.jpg filter=lfs diff=lfs merge=lfs -text +images/raspberry.jpg filter=lfs diff=lfs merge=lfs -text +images/spinach.jpg filter=lfs diff=lfs merge=lfs -text +images/strawberry.jpg filter=lfs diff=lfs merge=lfs -text +images/sweet_potato.jpg filter=lfs diff=lfs merge=lfs -text +images/tomato.jpg filter=lfs diff=lfs merge=lfs -text +images/watermelon.jpg filter=lfs diff=lfs merge=lfs -text +images/zucchini.jpg filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..34b3eeea5f27f152f9995ca5f852bbb8a026db4b --- /dev/null +++ b/README.md @@ -0,0 +1,232 @@ +--- +tags: +- image-classification +- pytorch +- huggingpics +metrics: +- accuracy + +model-index: +- name: fruit-classifier-1.0 + results: + - task: + name: Image Classification + type: image-classification + metrics: + - name: Accuracy + type: accuracy + value: 0.8994662165641785 +--- + +# fruit-classifier-1.0 + + +Autogenerated by HuggingPics🤗🖼️ + +Create your own image classifier for **anything** by running [the demo on Google Colab](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb). + +Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics). + + +## Example Images + + +#### apple + +![apple](images/apple.jpg) + +#### apricot + +![apricot](images/apricot.jpg) + +#### asparagus + +![asparagus](images/asparagus.jpg) + +#### avocado + +![avocado](images/avocado.jpg) + +#### banana + +![banana](images/banana.jpg) + +#### bell_pepper + +![bell_pepper](images/bell_pepper.jpg) + +#### blackberry + +![blackberry](images/blackberry.jpg) + +#### blueberry + +![blueberry](images/blueberry.jpg) + +#### broccoli + +![broccoli](images/broccoli.jpg) + +#### cabbage + +![cabbage](images/cabbage.jpg) + +#### cantaloupe + +![cantaloupe](images/cantaloupe.jpg) + +#### carrot + +![carrot](images/carrot.jpg) + +#### cauliflower + +![cauliflower](images/cauliflower.jpg) + +#### celery + +![celery](images/celery.jpg) + +#### cherry + +![cherry](images/cherry.jpg) + +#### coconut + +![coconut](images/coconut.jpg) + +#### corn + +![corn](images/corn.jpg) + +#### cranberry + +![cranberry](images/cranberry.jpg) + +#### cucumber + +![cucumber](images/cucumber.jpg) + +#### date + +![date](images/date.jpg) + +#### dragon_fruit + +![dragon_fruit](images/dragon_fruit.jpg) + +#### eggplant + +![eggplant](images/eggplant.jpg) + +#### fig + +![fig](images/fig.jpg) + +#### grape + +![grape](images/grape.jpg) + +#### grapefruit + +![grapefruit](images/grapefruit.jpg) + +#### guava + +![guava](images/guava.jpg) + +#### honeydew + +![honeydew](images/honeydew.jpg) + +#### kiwi + +![kiwi](images/kiwi.jpg) + +#### leek + +![leek](images/leek.jpg) + +#### lettuce + +![lettuce](images/lettuce.jpg) + +#### mango + +![mango](images/mango.jpg) + +#### nectarine + +![nectarine](images/nectarine.jpg) + +#### orange + +![orange](images/orange.jpg) + +#### papaya + +![papaya](images/papaya.jpg) + +#### passion_fruit + +![passion_fruit](images/passion_fruit.jpg) + +#### pea + +![pea](images/pea.jpg) + +#### peach + +![peach](images/peach.jpg) + +#### pear + +![pear](images/pear.jpg) + +#### pineapple + +![pineapple](images/pineapple.jpg) + +#### plum + +![plum](images/plum.jpg) + +#### pomegranate + +![pomegranate](images/pomegranate.jpg) + +#### potato + +![potato](images/potato.jpg) + +#### radish + +![radish](images/radish.jpg) + +#### raspberry + +![raspberry](images/raspberry.jpg) + +#### spinach + +![spinach](images/spinach.jpg) + +#### strawberry + +![strawberry](images/strawberry.jpg) + +#### sweet_potato + +![sweet_potato](images/sweet_potato.jpg) + +#### tomato + +![tomato](images/tomato.jpg) + +#### watermelon + +![watermelon](images/watermelon.jpg) + +#### zucchini + +![zucchini](images/zucchini.jpg) \ No newline at end of file diff --git a/config.json b/config.json new file mode 100644 index 0000000000000000000000000000000000000000..0d57617136bd1fcb8cb18943b08bf19456518c54 --- /dev/null +++ b/config.json @@ -0,0 +1,128 @@ +{ + "_name_or_path": "google/vit-base-patch16-224-in21k", + "architectures": [ + "ViTForImageClassification" + ], + "attention_probs_dropout_prob": 0.0, + "encoder_stride": 16, + "hidden_act": "gelu", + "hidden_dropout_prob": 0.0, + "hidden_size": 768, + "id2label": { + "0": "apple", + "1": "apricot", + "10": "cantaloupe", + "11": "carrot", + "12": "cauliflower", + "13": "celery", + "14": "cherry", + "15": "coconut", + "16": "corn", + "17": "cranberry", + "18": "cucumber", + "19": "date", + "2": "asparagus", + "20": "dragon_fruit", + "21": "eggplant", + "22": "fig", + "23": "grape", + "24": "grapefruit", + "25": "guava", + "26": "honeydew", + "27": "kiwi", + "28": "leek", + "29": "lettuce", + "3": "avocado", + "30": "mango", + "31": "nectarine", + "32": "orange", + "33": "papaya", + "34": "passion_fruit", + "35": "pea", + "36": "peach", + "37": "pear", + "38": "pineapple", + "39": "plum", + "4": "banana", + "40": "pomegranate", + "41": "potato", + "42": "radish", + "43": "raspberry", + "44": "spinach", + "45": "strawberry", + "46": "sweet_potato", + "47": "tomato", + "48": "watermelon", + "49": "zucchini", + "5": "bell_pepper", + "6": "blackberry", + "7": "blueberry", + "8": "broccoli", + "9": "cabbage" + }, + "image_size": 224, + "initializer_range": 0.02, + "intermediate_size": 3072, + "label2id": { + "apple": "0", + "apricot": "1", + "asparagus": "2", + "avocado": "3", + "banana": "4", + "bell_pepper": "5", + "blackberry": "6", + "blueberry": "7", + "broccoli": "8", + "cabbage": "9", + "cantaloupe": "10", + "carrot": "11", + "cauliflower": "12", + "celery": "13", + "cherry": "14", + "coconut": "15", + "corn": "16", + "cranberry": "17", + "cucumber": "18", + "date": "19", + "dragon_fruit": "20", + "eggplant": "21", + "fig": "22", + "grape": "23", + "grapefruit": "24", + "guava": "25", + "honeydew": "26", + "kiwi": "27", + "leek": "28", + "lettuce": "29", + "mango": "30", + "nectarine": "31", + "orange": "32", + "papaya": "33", + "passion_fruit": "34", + "pea": "35", + "peach": "36", + "pear": "37", + "pineapple": "38", + "plum": "39", + "pomegranate": "40", + "potato": "41", + "radish": "42", + "raspberry": "43", + "spinach": "44", + "strawberry": "45", + "sweet_potato": "46", + "tomato": "47", + "watermelon": "48", + "zucchini": "49" + }, + "layer_norm_eps": 1e-12, + "model_type": "vit", + "num_attention_heads": 12, + "num_channels": 3, + "num_hidden_layers": 12, + "patch_size": 16, + "problem_type": "single_label_classification", + "qkv_bias": true, + "torch_dtype": "float32", + "transformers_version": "4.35.2" +} diff --git a/images/apple.jpg b/images/apple.jpg new file mode 100644 index 0000000000000000000000000000000000000000..2342fb90504bc702911cf8c091d4185f287cd432 --- /dev/null +++ b/images/apple.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8d758497299fa2daf14dee075e8703fbc58610d07174c8b3dc9560863bd88e1 +size 52527 diff --git a/images/apricot.jpg b/images/apricot.jpg new file mode 100644 index 0000000000000000000000000000000000000000..10ed2b6a81b2464224abda89408de46082cc44e5 --- /dev/null +++ b/images/apricot.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fa2b31c1a8bf14847aa31ee99ede75e152d14161e08a9e1be3e8b4dc45bb1b4 +size 31095 diff --git a/images/asparagus.jpg b/images/asparagus.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3d8599bd0561b4af4c57a9e5fabe6082b3f8924e --- /dev/null +++ b/images/asparagus.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9714541ff48bda817c61a744ec47ed43393bb62b49ad5a47c6e79ee96c42f19b +size 44844 diff --git a/images/avocado.jpg b/images/avocado.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b27260f636e9439dbe5e4973b9bd24413e05f99d --- /dev/null +++ b/images/avocado.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:582c2c8ba82690049c25edd927b965857f6e2411d00aec9f1593cfc370b75f67 +size 63975 diff --git a/images/banana.jpg b/images/banana.jpg new file mode 100644 index 0000000000000000000000000000000000000000..77e003da080643f064cd4611c6292a319d1008ad --- /dev/null +++ b/images/banana.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:071b20e059fdbf830d94b2e26c7fb4cf3e5c7edf0e55506a23d317c59a45ec95 +size 28396 diff --git a/images/bell_pepper.jpg b/images/bell_pepper.jpg new file mode 100644 index 0000000000000000000000000000000000000000..53b7029623e57117dcde4e6d4442df7f8a5ccd73 --- /dev/null +++ b/images/bell_pepper.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f58e3cc6f33e7ea753c9604ff23b042f437ca848c1ac3da3a721ffdec4f2a73 +size 59739 diff --git a/images/blackberry.jpg b/images/blackberry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c02abe4a61f9cb472e18f250714808038d69b5b0 --- /dev/null +++ b/images/blackberry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03dc8fed80cd064d90f450b91b16bb1c641f559a4abe3649682b897be362eaf5 +size 42417 diff --git a/images/blueberry.jpg b/images/blueberry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b7a0e7870c4ad8c58d7eed763197dd2ecebd24b3 --- /dev/null +++ b/images/blueberry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d1218141e8fee9fa5bf91d84336e5272c967b8e5d15d940b997f487b3c1a9df3 +size 50797 diff --git a/images/broccoli.jpg b/images/broccoli.jpg new file mode 100644 index 0000000000000000000000000000000000000000..db0a07be11b5b5e9080618b0b8a9bf06746488a0 --- /dev/null +++ b/images/broccoli.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba44c6b54a8c0ec22b4300e6f266687ef75380aac121becfc339ade5eceea2e8 +size 21605 diff --git a/images/cabbage.jpg b/images/cabbage.jpg new file mode 100644 index 0000000000000000000000000000000000000000..f70999a62a44541b80ba2d15875e87e3fe9d79b8 --- /dev/null +++ b/images/cabbage.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4aa470a743c91886abb60d59f2aff68ae0c8354b26a16831a1065ba6d397a0cf +size 33641 diff --git a/images/cantaloupe.jpg b/images/cantaloupe.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d7c34d35289f1110574665201fd84b99faa454e4 --- /dev/null +++ b/images/cantaloupe.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:974dca719dc3a1847cb2650b10a6ae06ef3d4fe24e172a65cc626f4e8e144d2a +size 28898 diff --git a/images/carrot.jpg b/images/carrot.jpg new file mode 100644 index 0000000000000000000000000000000000000000..80a35aa870dec0ef79b05274b9c61c0089b2f841 --- /dev/null +++ b/images/carrot.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6056e8d06e3a5fcb201b7a54934128f958547d5287df4defdbe94ebf81b5562 +size 63192 diff --git a/images/cauliflower.jpg b/images/cauliflower.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ff5ccd4505767ba914aec902c0ae0000ee9e893c --- /dev/null +++ b/images/cauliflower.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebb140815143b5896c7233a5ff988721daa36b451771b7d00d26875c10f7ac33 +size 48807 diff --git a/images/celery.jpg b/images/celery.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4a7ee6c64d87bceed5d84ccca7994d70cd378c6e --- /dev/null +++ b/images/celery.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9afe71da2d391b9ca7bb220d3076ccf87269fd9bf3fae9562dbcb3748e064851 +size 47020 diff --git a/images/cherry.jpg b/images/cherry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a7eb6be1b3d70b95e85156c0b128ffafa3eba41b --- /dev/null +++ b/images/cherry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f3d738da1d0652dbae64ecfb57335073de55c50fe681e77eec0b45495ea95d6 +size 68630 diff --git a/images/coconut.jpg b/images/coconut.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7d6d9164216780aeb05c212ca7d107f6dbab59ae --- /dev/null +++ b/images/coconut.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:86e8cde1f5760b8beb16a68e0ee57c29378d9c3403784c96465ff38d5992f7f8 +size 35028 diff --git a/images/corn.jpg b/images/corn.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4d28f941c89e3e1559579aa99e3cac320fc557cc --- /dev/null +++ b/images/corn.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb55d4c2f5dd0ff6f517a432633a84286562cf861398e56b204ac179e4797896 +size 58288 diff --git a/images/cranberry.jpg b/images/cranberry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..3fdcf266d7ef020b55af8bb0501c3782863b36e4 --- /dev/null +++ b/images/cranberry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0204e53dcf534263ff32f5d89d407dc417b3715e9a799e4b55da30e623acde1a +size 40394 diff --git a/images/cucumber.jpg b/images/cucumber.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7335991bc41fd99c10fe8fa3cf9389cd2f83282c --- /dev/null +++ b/images/cucumber.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e4131e1c427eb3c4a93e564e77660aa05aeaa33950a548774ed322905cf317f +size 55219 diff --git a/images/date.jpg b/images/date.jpg new file mode 100644 index 0000000000000000000000000000000000000000..79a1847a9cbb4b00a67cc32a2a15f89563ada39f --- /dev/null +++ b/images/date.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ad205baab8d0d7e8aab26aba2a223888bc5848fab8c6e95a555d0bf91891a51 +size 53412 diff --git a/images/dragon_fruit.jpg b/images/dragon_fruit.jpg new file mode 100644 index 0000000000000000000000000000000000000000..c9a015eca83279116fe3992750db4f90319dcd6f --- /dev/null +++ b/images/dragon_fruit.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07141f0a2ea0308a5e5176e77acd1f37dbdb109531bc752ae11b7dcd34360b53 +size 42167 diff --git a/images/eggplant.jpg b/images/eggplant.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5e20c6a3b43c0de6aa35ac04e677a9323e2b7b3d --- /dev/null +++ b/images/eggplant.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edb05542f4fd7401ca29c4fb532b08167f72d988c9e83a39d888fd1b32308f3a +size 45274 diff --git a/images/fig.jpg b/images/fig.jpg new file mode 100644 index 0000000000000000000000000000000000000000..108637bbdf0f37b3d9e8e9f9a0c32699f96f7535 --- /dev/null +++ b/images/fig.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3483c09744026559bcd056540449aa7141a6fc834731c5243d703e007096e402 +size 31010 diff --git a/images/grape.jpg b/images/grape.jpg new file mode 100644 index 0000000000000000000000000000000000000000..36e71d517f08a8132575ac7a694f782c572d12f5 --- /dev/null +++ b/images/grape.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aaba12e308b36046bf2f04aa8394f46cd0428b28ad2029b9fe75ad2345040a6e +size 71240 diff --git a/images/grapefruit.jpg b/images/grapefruit.jpg new file mode 100644 index 0000000000000000000000000000000000000000..a6be2d14206b07977246b51f364c83aacfd41473 --- /dev/null +++ b/images/grapefruit.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef25822e0359ee2360f5103586dcc2e0c87db82d739008fd4734dcf98952fce5 +size 47215 diff --git a/images/guava.jpg b/images/guava.jpg new file mode 100644 index 0000000000000000000000000000000000000000..432ffa11b4d7103bed4342e0412bc48b02c4f902 --- /dev/null +++ b/images/guava.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d97942fb18adb1841a683f4a5a9ca5a1afb441c54605849040f7a6aed86976c +size 58661 diff --git a/images/honeydew.jpg b/images/honeydew.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ed8907848ef7f8c2e489a637d4dd503f418df431 --- /dev/null +++ b/images/honeydew.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29661773855938c539b2075bae4a85e38027cce1f464ebf9c08fcaee300145ee +size 18433 diff --git a/images/kiwi.jpg b/images/kiwi.jpg new file mode 100644 index 0000000000000000000000000000000000000000..12246d32387b173a04b970cbd06f88e7c71f65ae --- /dev/null +++ b/images/kiwi.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df78685c0bd916e69f7d6c15a875de693f2f75dc0f0f441d76fe7ad528ed4c93 +size 39444 diff --git a/images/leek.jpg b/images/leek.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ac7bf83ba0f1e49b1865bbbe3f69257cd1087b31 --- /dev/null +++ b/images/leek.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9245688a047317ad3c5d7d3d98b02c6d208bed6aba984f01facb330c5af6cce1 +size 50767 diff --git a/images/lettuce.jpg b/images/lettuce.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d46cb8e4453ace5a416aef462f1ccf588a42542f --- /dev/null +++ b/images/lettuce.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:45474d9ef2a65f6b0f8045230aebfed42232384345818b8b4ea68ac1c84ce11c +size 25383 diff --git a/images/mango.jpg b/images/mango.jpg new file mode 100644 index 0000000000000000000000000000000000000000..10a4fed644423133808eca26c9402a4d1cf3ea40 --- /dev/null +++ b/images/mango.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:64a66fc41aaf586f1a3a073f49001fd6d3c5655e692329b508eaa30295dffe0c +size 25580 diff --git a/images/nectarine.jpg b/images/nectarine.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6098e8647b44aa654bbc0027e41d4b1c20bb3d95 --- /dev/null +++ b/images/nectarine.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdfac85761cd05904b0a8fa40bfbf5232b63fb675b28f5133c420aa0a1ef4849 +size 48229 diff --git a/images/orange.jpg b/images/orange.jpg new file mode 100644 index 0000000000000000000000000000000000000000..40c018deb6fcfa7498d3db6ee625f68a1c18d321 --- /dev/null +++ b/images/orange.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b4455f91bdddc2832766926c090c41440b471cac096fd3effa9f32c6cbc04cb +size 25699 diff --git a/images/papaya.jpg b/images/papaya.jpg new file mode 100644 index 0000000000000000000000000000000000000000..53e296fab09a0fd79947ee8f3f3ee0ea7d007014 --- /dev/null +++ b/images/papaya.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:485ac77bf5f8b764fa55f780154b66c88ff592c4ddf954d145bdb2ef09868cc8 +size 26398 diff --git a/images/passion_fruit.jpg b/images/passion_fruit.jpg new file mode 100644 index 0000000000000000000000000000000000000000..44a6ef75b7df868256611a5e8c5f71c22bbee88a --- /dev/null +++ b/images/passion_fruit.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c342c3e8ef67d97867ab132ef1c1b6bb4fa62e8d0a802029c8972a158d27b87d +size 36361 diff --git a/images/pea.jpg b/images/pea.jpg new file mode 100644 index 0000000000000000000000000000000000000000..19ba070a278ce943b19f2c619ff97426d8182c5a --- /dev/null +++ b/images/pea.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2297dd9041aaf178a133bfae3fee1064c778d012ef35e5f4ff2e5062d85c219 +size 60432 diff --git a/images/peach.jpg b/images/peach.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0c61a5dc862bf0f59f88b60d03803fa3e4f1efc7 --- /dev/null +++ b/images/peach.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5498bd157960a76213852d55e659e5ed91e07e441f5c00cb61bc273750527d5f +size 39737 diff --git a/images/pear.jpg b/images/pear.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1fda4c541a9882a80756f50f4f849b90cf4e11aa --- /dev/null +++ b/images/pear.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5e71f4576badc0d2022cd1532be12f3e7f77c65dcb4d99c569d574bc9495c90 +size 31852 diff --git a/images/pineapple.jpg b/images/pineapple.jpg new file mode 100644 index 0000000000000000000000000000000000000000..8e17b48918e3b01b494bdb91521b79702d293202 --- /dev/null +++ b/images/pineapple.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94736acd4229672f888e9d2514c4b0bc66128d6b3daa4a8052d6e911d1c00fbc +size 86233 diff --git a/images/plum.jpg b/images/plum.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d9a5acdb1fa661772dff28d45c68f90eb6cc5cdc --- /dev/null +++ b/images/plum.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89f2a9f831ee93e49cdb62a8ef8e385a5ee649f26a19cda372708dabaca8f33a +size 50874 diff --git a/images/pomegranate.jpg b/images/pomegranate.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9ad2330b4f0fe9f8427ffb8d77b3f6814800a1c0 --- /dev/null +++ b/images/pomegranate.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:843f0ad5ce007af477306a7fea1c7af2d2a0204a95fcc19b7973baf6804d4c0e +size 26911 diff --git a/images/potato.jpg b/images/potato.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5b50108e143a3e44e5d2f7ff172a02d299272098 --- /dev/null +++ b/images/potato.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52181753420a0e4823104500980f1319e4cf2158391c85eee7245c2ed094bc92 +size 31046 diff --git a/images/radish.jpg b/images/radish.jpg new file mode 100644 index 0000000000000000000000000000000000000000..83c8486195add6c6dbab1170f5224d921499d75f --- /dev/null +++ b/images/radish.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da34b0395820991b6238b03b3ebe8d61a2aaceadf7826af911b834d40962692f +size 78258 diff --git a/images/raspberry.jpg b/images/raspberry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b8bd4da34322d8cf83f85e917c839ad6bc38df15 --- /dev/null +++ b/images/raspberry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e3c71058cbfce8236664af8512f831af9acbba61bc96af0b7a52b5afd886e46c +size 45792 diff --git a/images/spinach.jpg b/images/spinach.jpg new file mode 100644 index 0000000000000000000000000000000000000000..14634b706cd2c8147f9ac0805f5f335fd7dc19aa --- /dev/null +++ b/images/spinach.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3cca9ae320c020c208e236bb78481412a38db534ef1be3800584a75bb9e0304d +size 43034 diff --git a/images/strawberry.jpg b/images/strawberry.jpg new file mode 100644 index 0000000000000000000000000000000000000000..1dce19382118e83c18ff8f24a49f62a98744913b --- /dev/null +++ b/images/strawberry.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f21991eed7a0e46f068438afdf5801225ad75e95c218d53d876318850dd2c04 +size 29512 diff --git a/images/sweet_potato.jpg b/images/sweet_potato.jpg new file mode 100644 index 0000000000000000000000000000000000000000..9148fe71281c8a32f3d1a1df6857effd40305cb9 --- /dev/null +++ b/images/sweet_potato.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f27a738a5fc9fbda2cea0a4dfcb0d0cbafa31cb5b906664730c348ff9b2d51e5 +size 35781 diff --git a/images/tomato.jpg b/images/tomato.jpg new file mode 100644 index 0000000000000000000000000000000000000000..5c11002ff242f21c473cb9c3c56a0d4e44600f0e --- /dev/null +++ b/images/tomato.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e2b2c95e1c4cdd32c1f4bfa0ba526121e144b6be345b87de9ecf96741c6cde6 +size 33555 diff --git a/images/watermelon.jpg b/images/watermelon.jpg new file mode 100644 index 0000000000000000000000000000000000000000..d1f05cf2ebed0159cc9f98d90d89f2c163f3a6a1 --- /dev/null +++ b/images/watermelon.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:151e6481dd7553cef5cc04fe0983670acbefa96f221f84ad3577b4564752bc5d +size 45472 diff --git a/images/zucchini.jpg b/images/zucchini.jpg new file mode 100644 index 0000000000000000000000000000000000000000..14c4f45b1a1ba1e67dbd0faa5a45cdf3530add0f --- /dev/null +++ b/images/zucchini.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d819a9fd361ae2d3d44f7f5bda4fb0a817c597f4e8b9d94cf0d8a8f172eafa46 +size 49308 diff --git a/model.safetensors b/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..14eb2553b200cd7657d3d7a5a52385180c5c1561 --- /dev/null +++ b/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00611c374eb7127b0dc496dd101de5cf3cc00a42516bcbc82ff826deeb114c07 +size 343371632 diff --git a/preprocessor_config.json b/preprocessor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..02018dec94f64d45a5547572f8c5f3ce2fe6456a --- /dev/null +++ b/preprocessor_config.json @@ -0,0 +1,22 @@ +{ + "do_normalize": true, + "do_rescale": true, + "do_resize": true, + "image_mean": [ + 0.5, + 0.5, + 0.5 + ], + "image_processor_type": "ViTFeatureExtractor", + "image_std": [ + 0.5, + 0.5, + 0.5 + ], + "resample": 2, + "rescale_factor": 0.00392156862745098, + "size": { + "height": 224, + "width": 224 + } +} diff --git a/runs/events.out.tfevents.1702583355.eec0f8f2c3bb.281.0 b/runs/events.out.tfevents.1702583355.eec0f8f2c3bb.281.0 new file mode 100644 index 0000000000000000000000000000000000000000..42c495139f40b5319e0783a6a9d9ac4bd2fabbdc --- /dev/null +++ b/runs/events.out.tfevents.1702583355.eec0f8f2c3bb.281.0 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bd47fc68e0695481a3c976bc81312ff90999bd659e147091dc527aa77a878c9 +size 6796