{"id":16734893,"url":"https://github.com/dinarior/explore_imagenet","last_synced_at":"2025-09-03T21:41:14.976Z","repository":{"id":57427631,"uuid":"323859338","full_name":"dinarior/explore_imagenet","owner":"dinarior","description":"Small tool to explore ImageNet (WordNet) structure. ","archived":false,"fork":false,"pushed_at":"2020-12-24T05:51:52.000Z","size":2319,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T11:07:42.352Z","etag":null,"topics":["explore","imagenet","machine-learning","wordnet"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dinarior.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-23T09:29:28.000Z","updated_at":"2024-02-02T13:28:21.000Z","dependencies_parsed_at":"2022-09-19T07:41:05.403Z","dependency_job_id":null,"html_url":"https://github.com/dinarior/explore_imagenet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinarior%2Fexplore_imagenet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinarior%2Fexplore_imagenet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinarior%2Fexplore_imagenet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dinarior%2Fexplore_imagenet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dinarior","download_url":"https://codeload.github.com/dinarior/explore_imagenet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217083,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["explore","imagenet","machine-learning","wordnet"],"created_at":"2024-10-13T00:04:12.587Z","updated_at":"2025-04-10T12:15:20.852Z","avatar_url":"https://github.com/dinarior.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Explore Imagenet/WordNet\n\nTiny package to easily explore the WordNet (and subsequently, ImageNet) structure.\n\n\n### Usage\n\n```\npip install exin\n```\n```\nfrom exin.exin import find_class\n\nfind_class('n02356798')\n```\n=\u003e\n```\n('n00015388', 'animal, animate being, beast, brute, creature, fauna'),\n ('n01466257', 'chordate'),\n ('n01471682', 'vertebrate, craniate'),\n ('n01861778', 'mammal, mammalian'),\n ('n01886756', 'placental, placental mammal, eutherian, eutherian mammal'),\n ('n02329401', 'rodent, gnawer'),\n ('n02355227', 'squirrel'),\n ('n02355477', 'tree squirrel'),\n ('n02356798', 'fox squirrel, eastern fox squirrel, Sciurus niger'),\n 'fox squirrel, eastern fox squirrel, Sciurus niger']\n```\n\nThis package basically turn the `structure_released.xml` of WordNet to a python dictionary (this was not made with efficiency in mind...) then given a class, say `n02356798`, returns the path from the root, with all the classes id's and descriptions. \u003cbr\u003e\n\nYou can also access the whole dictionary by using\n\n```\nfrom exin.exin import whole_dict\n```\n\nAnd play with it as you will.\n\n\n### Alternative\nIf you dislike installing packages, you can just play with the attached [notebook](https://github.com/dinarior/explore_imagenet/blob/main/explore_imagenet.ipynb) as well for the same functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinarior%2Fexplore_imagenet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdinarior%2Fexplore_imagenet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdinarior%2Fexplore_imagenet/lists"}