| { | |
| "_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": "Abelmoschus", | |
| "1": "Abutilon", | |
| "10": "Amaranthus", | |
| "100": "Hydrolea", | |
| "101": "Hyptis", | |
| "102": "Imperata", | |
| "103": "Indigofera", | |
| "104": "Indoneesiella", | |
| "105": "Ionidium", | |
| "106": "Ipomoea", | |
| "107": "Ischaemum", | |
| "108": "Lagascea", | |
| "109": "Lantana", | |
| "11": "Ammannia", | |
| "110": "Lathyrus", | |
| "111": "Launaea", | |
| "112": "Leonitis", | |
| "113": "Lepidium", | |
| "114": "Leptochloa", | |
| "115": "Leucas", | |
| "116": "Limnocharis", | |
| "117": "Lindernia", | |
| "118": "Ludwigia", | |
| "119": "Malachra", | |
| "12": "Anagallis", | |
| "120": "Malva", | |
| "121": "Malvastrum", | |
| "122": "Marsilea", | |
| "123": "Martynia", | |
| "124": "Mecardonia", | |
| "125": "Medicago", | |
| "126": "Melilotus", | |
| "127": "Melochia", | |
| "128": "Merremia", | |
| "129": "Mikania", | |
| "13": "Andrographis", | |
| "130": "Mimosa", | |
| "131": "Mitracarpus", | |
| "132": "Mollugo", | |
| "133": "Monochoria", | |
| "134": "Mukia", | |
| "135": "Murdannia", | |
| "136": "Oldenlandia", | |
| "137": "Operculina", | |
| "138": "Oplismenus", | |
| "139": "Oxalis", | |
| "14": "Anisomeles", | |
| "140": "Oxlis", | |
| "141": "Parthenium", | |
| "142": "Paspalidium", | |
| "143": "Paspalum", | |
| "144": "Passiflora", | |
| "145": "Pedalium", | |
| "146": "Pergularia", | |
| "147": "Peristrophe", | |
| "148": "Phalaris", | |
| "149": "Phaseolus", | |
| "15": "Antigonon", | |
| "150": "Phyla", | |
| "151": "Phyllanthus", | |
| "152": "Physalis", | |
| "153": "Pluchea", | |
| "154": "Plumbago", | |
| "155": "Polygonum", | |
| "156": "Polypogon", | |
| "157": "Portulaca", | |
| "158": "Pouzolzia", | |
| "159": "Pseudognaphalium", | |
| "16": "Apluda", | |
| "160": "Psoralea", | |
| "161": "Rhynchosia", | |
| "162": "Rottboellia", | |
| "163": "Ruellia", | |
| "164": "Rumex", | |
| "165": "Rungia", | |
| "166": "Saccharum", | |
| "167": "Sacciolepis", | |
| "168": "Sagittaria", | |
| "169": "Salvinia", | |
| "17": "Argemone", | |
| "170": "Scoparia", | |
| "171": "Sebastiana", | |
| "172": "Setaria", | |
| "173": "Sida", | |
| "174": "Sisymbrium", | |
| "175": "Solanum", | |
| "176": "Sonchus", | |
| "177": "Sopubia", | |
| "178": "Sorghum", | |
| "179": "Spergula", | |
| "18": "Arundo", | |
| "180": "Sphaeranthus", | |
| "181": "Sphenoclea", | |
| "182": "Spigelia", | |
| "183": "Spilanthes", | |
| "184": "Sporobolus", | |
| "185": "Stachytarpeta", | |
| "186": "Stellaria", | |
| "187": "Stemodia", | |
| "188": "Striga", | |
| "189": "Synedrella", | |
| "19": "Asphodelus", | |
| "190": "Tephrosia", | |
| "191": "Themeda", | |
| "192": "Trianthema", | |
| "193": "Tribulus", | |
| "194": "Trichodesma", | |
| "195": "Tridax", | |
| "196": "Trifolium", | |
| "197": "Trigonella", | |
| "198": "Triumfetta", | |
| "199": "Typha", | |
| "2": "Acalypha", | |
| "20": "Asteracantha", | |
| "200": "Urena", | |
| "201": "Verbascum", | |
| "202": "Verbesina", | |
| "203": "Vernonia", | |
| "204": "Vicia", | |
| "205": "Vicoa", | |
| "206": "Volutarella", | |
| "207": "Waltheria", | |
| "208": "Wedelia", | |
| "209": "Xanthium", | |
| "21": "Asystasia", | |
| "210": "Zornia", | |
| "22": "Atylosia", | |
| "23": "Avena", | |
| "24": "Axonopus", | |
| "25": "Barleria", | |
| "26": "Bergia", | |
| "27": "Bidens", | |
| "28": "Biophytum", | |
| "29": "Blainvillea", | |
| "3": "Acanthospermum", | |
| "30": "Blepharis", | |
| "31": "Blumea", | |
| "32": "Boerhavia", | |
| "33": "Borreria", | |
| "34": "Brachiaria", | |
| "35": "Cabomba", | |
| "36": "Caesulia", | |
| "37": "Calotropis", | |
| "38": "Cannabis", | |
| "39": "Cardamine", | |
| "4": "Achyranthes", | |
| "40": "Cardiospermum", | |
| "41": "Cassia", | |
| "42": "Catharanthus", | |
| "43": "Cayratia", | |
| "44": "Celosia", | |
| "45": "Centella", | |
| "46": "Centrosema", | |
| "47": "Chenopodium", | |
| "48": "Chloris", | |
| "49": "Chromolaena", | |
| "5": "Aerva", | |
| "50": "Chrozophora", | |
| "51": "Cichorium", | |
| "52": "Cirsium", | |
| "53": "Cleome", | |
| "54": "Clerodendron", | |
| "55": "Clitoria", | |
| "56": "Cocculus", | |
| "57": "Coix", | |
| "58": "Commelina", | |
| "59": "Convolvulus", | |
| "6": "Aeschynomene", | |
| "60": "Conyza", | |
| "61": "Corchorus", | |
| "62": "Coronopus", | |
| "63": "Crotalaria", | |
| "64": "Croton", | |
| "65": "Cyanotis", | |
| "66": "Cyathula", | |
| "67": "Cynodon", | |
| "68": "Cyperus", | |
| "69": "Dactyloctenium", | |
| "7": "Ageratum", | |
| "70": "Datura", | |
| "71": "Desmodium", | |
| "72": "Desmostachya", | |
| "73": "Dichanthium", | |
| "74": "Digera", | |
| "75": "Digitaria", | |
| "76": "Dinebra", | |
| "77": "Diplocyclos", | |
| "78": "Dyschoriste", | |
| "79": "Echinochloa", | |
| "8": "Alternanthera", | |
| "80": "Echinops", | |
| "81": "Eclipta", | |
| "82": "Eichhornia", | |
| "83": "Eleusine", | |
| "84": "Emilia", | |
| "85": "Eragrostis", | |
| "86": "Eriocaulon", | |
| "87": "Euphorbia", | |
| "88": "Evolvulus", | |
| "89": "Fimbristylis", | |
| "9": "Alysicarpus", | |
| "90": "Fumaria", | |
| "91": "Galium", | |
| "92": "Glinus", | |
| "93": "Gnaphalium", | |
| "94": "Gomphrena", | |
| "95": "Grangea", | |
| "96": "Heliotropium", | |
| "97": "Hemidesmus", | |
| "98": "Heteropogon", | |
| "99": "Hibiscus" | |
| }, | |
| "image_size": 224, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "Abelmoschus": "0", | |
| "Abutilon": "1", | |
| "Acalypha": "2", | |
| "Acanthospermum": "3", | |
| "Achyranthes": "4", | |
| "Aerva": "5", | |
| "Aeschynomene": "6", | |
| "Ageratum": "7", | |
| "Alternanthera": "8", | |
| "Alysicarpus": "9", | |
| "Amaranthus": "10", | |
| "Ammannia": "11", | |
| "Anagallis": "12", | |
| "Andrographis": "13", | |
| "Anisomeles": "14", | |
| "Antigonon": "15", | |
| "Apluda": "16", | |
| "Argemone": "17", | |
| "Arundo": "18", | |
| "Asphodelus": "19", | |
| "Asteracantha": "20", | |
| "Asystasia": "21", | |
| "Atylosia": "22", | |
| "Avena": "23", | |
| "Axonopus": "24", | |
| "Barleria": "25", | |
| "Bergia": "26", | |
| "Bidens": "27", | |
| "Biophytum": "28", | |
| "Blainvillea": "29", | |
| "Blepharis": "30", | |
| "Blumea": "31", | |
| "Boerhavia": "32", | |
| "Borreria": "33", | |
| "Brachiaria": "34", | |
| "Cabomba": "35", | |
| "Caesulia": "36", | |
| "Calotropis": "37", | |
| "Cannabis": "38", | |
| "Cardamine": "39", | |
| "Cardiospermum": "40", | |
| "Cassia": "41", | |
| "Catharanthus": "42", | |
| "Cayratia": "43", | |
| "Celosia": "44", | |
| "Centella": "45", | |
| "Centrosema": "46", | |
| "Chenopodium": "47", | |
| "Chloris": "48", | |
| "Chromolaena": "49", | |
| "Chrozophora": "50", | |
| "Cichorium": "51", | |
| "Cirsium": "52", | |
| "Cleome": "53", | |
| "Clerodendron": "54", | |
| "Clitoria": "55", | |
| "Cocculus": "56", | |
| "Coix": "57", | |
| "Commelina": "58", | |
| "Convolvulus": "59", | |
| "Conyza": "60", | |
| "Corchorus": "61", | |
| "Coronopus": "62", | |
| "Crotalaria": "63", | |
| "Croton": "64", | |
| "Cyanotis": "65", | |
| "Cyathula": "66", | |
| "Cynodon": "67", | |
| "Cyperus": "68", | |
| "Dactyloctenium": "69", | |
| "Datura": "70", | |
| "Desmodium": "71", | |
| "Desmostachya": "72", | |
| "Dichanthium": "73", | |
| "Digera": "74", | |
| "Digitaria": "75", | |
| "Dinebra": "76", | |
| "Diplocyclos": "77", | |
| "Dyschoriste": "78", | |
| "Echinochloa": "79", | |
| "Echinops": "80", | |
| "Eclipta": "81", | |
| "Eichhornia": "82", | |
| "Eleusine": "83", | |
| "Emilia": "84", | |
| "Eragrostis": "85", | |
| "Eriocaulon": "86", | |
| "Euphorbia": "87", | |
| "Evolvulus": "88", | |
| "Fimbristylis": "89", | |
| "Fumaria": "90", | |
| "Galium": "91", | |
| "Glinus": "92", | |
| "Gnaphalium": "93", | |
| "Gomphrena": "94", | |
| "Grangea": "95", | |
| "Heliotropium": "96", | |
| "Hemidesmus": "97", | |
| "Heteropogon": "98", | |
| "Hibiscus": "99", | |
| "Hydrolea": "100", | |
| "Hyptis": "101", | |
| "Imperata": "102", | |
| "Indigofera": "103", | |
| "Indoneesiella": "104", | |
| "Ionidium": "105", | |
| "Ipomoea": "106", | |
| "Ischaemum": "107", | |
| "Lagascea": "108", | |
| "Lantana": "109", | |
| "Lathyrus": "110", | |
| "Launaea": "111", | |
| "Leonitis": "112", | |
| "Lepidium": "113", | |
| "Leptochloa": "114", | |
| "Leucas": "115", | |
| "Limnocharis": "116", | |
| "Lindernia": "117", | |
| "Ludwigia": "118", | |
| "Malachra": "119", | |
| "Malva": "120", | |
| "Malvastrum": "121", | |
| "Marsilea": "122", | |
| "Martynia": "123", | |
| "Mecardonia": "124", | |
| "Medicago": "125", | |
| "Melilotus": "126", | |
| "Melochia": "127", | |
| "Merremia": "128", | |
| "Mikania": "129", | |
| "Mimosa": "130", | |
| "Mitracarpus": "131", | |
| "Mollugo": "132", | |
| "Monochoria": "133", | |
| "Mukia": "134", | |
| "Murdannia": "135", | |
| "Oldenlandia": "136", | |
| "Operculina": "137", | |
| "Oplismenus": "138", | |
| "Oxalis": "139", | |
| "Oxlis": "140", | |
| "Parthenium": "141", | |
| "Paspalidium": "142", | |
| "Paspalum": "143", | |
| "Passiflora": "144", | |
| "Pedalium": "145", | |
| "Pergularia": "146", | |
| "Peristrophe": "147", | |
| "Phalaris": "148", | |
| "Phaseolus": "149", | |
| "Phyla": "150", | |
| "Phyllanthus": "151", | |
| "Physalis": "152", | |
| "Pluchea": "153", | |
| "Plumbago": "154", | |
| "Polygonum": "155", | |
| "Polypogon": "156", | |
| "Portulaca": "157", | |
| "Pouzolzia": "158", | |
| "Pseudognaphalium": "159", | |
| "Psoralea": "160", | |
| "Rhynchosia": "161", | |
| "Rottboellia": "162", | |
| "Ruellia": "163", | |
| "Rumex": "164", | |
| "Rungia": "165", | |
| "Saccharum": "166", | |
| "Sacciolepis": "167", | |
| "Sagittaria": "168", | |
| "Salvinia": "169", | |
| "Scoparia": "170", | |
| "Sebastiana": "171", | |
| "Setaria": "172", | |
| "Sida": "173", | |
| "Sisymbrium": "174", | |
| "Solanum": "175", | |
| "Sonchus": "176", | |
| "Sopubia": "177", | |
| "Sorghum": "178", | |
| "Spergula": "179", | |
| "Sphaeranthus": "180", | |
| "Sphenoclea": "181", | |
| "Spigelia": "182", | |
| "Spilanthes": "183", | |
| "Sporobolus": "184", | |
| "Stachytarpeta": "185", | |
| "Stellaria": "186", | |
| "Stemodia": "187", | |
| "Striga": "188", | |
| "Synedrella": "189", | |
| "Tephrosia": "190", | |
| "Themeda": "191", | |
| "Trianthema": "192", | |
| "Tribulus": "193", | |
| "Trichodesma": "194", | |
| "Tridax": "195", | |
| "Trifolium": "196", | |
| "Trigonella": "197", | |
| "Triumfetta": "198", | |
| "Typha": "199", | |
| "Urena": "200", | |
| "Verbascum": "201", | |
| "Verbesina": "202", | |
| "Vernonia": "203", | |
| "Vicia": "204", | |
| "Vicoa": "205", | |
| "Volutarella": "206", | |
| "Waltheria": "207", | |
| "Wedelia": "208", | |
| "Xanthium": "209", | |
| "Zornia": "210" | |
| }, | |
| "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.43.3" | |
| } | |