{"id":13737596,"url":"https://github.com/gitabcworld/FewShotLearning","last_synced_at":"2025-05-08T14:33:06.589Z","repository":{"id":104745305,"uuid":"99907365","full_name":"gitabcworld/FewShotLearning","owner":"gitabcworld","description":"Pytorch implementation of the paper \"Optimization as a Model for Few-Shot Learning\"","archived":false,"fork":false,"pushed_at":"2017-09-22T08:26:21.000Z","size":33,"stargazers_count":256,"open_issues_count":9,"forks_count":58,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-15T06:32:08.692Z","etag":null,"topics":["few-shot","optimization","optimization-algorithms","python","pytorch"],"latest_commit_sha":null,"homepage":null,"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/gitabcworld.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-10T09:42:09.000Z","updated_at":"2024-09-28T14:06:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"87c37b42-b076-4372-a403-fe626489bfd8","html_url":"https://github.com/gitabcworld/FewShotLearning","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/gitabcworld%2FFewShotLearning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitabcworld%2FFewShotLearning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitabcworld%2FFewShotLearning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitabcworld%2FFewShotLearning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitabcworld","download_url":"https://codeload.github.com/gitabcworld/FewShotLearning/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253085772,"owners_count":21851697,"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":["few-shot","optimization","optimization-algorithms","python","pytorch"],"created_at":"2024-08-03T03:01:54.498Z","updated_at":"2025-05-08T14:33:06.042Z","avatar_url":"https://github.com/gitabcworld.png","language":"Python","readme":"# Optimization as a Model for Few-Shot Learning\nThis repo provides a Pytorch implementation for the [Optimization as a Model for Few-Shot Learning](https://openreview.net/pdf?id=rJY0-Kcll) paper.\n\n## Installation of pytorch\nThe experiments needs installing [Pytorch](http://pytorch.org/)\n\n## Data \nFor the miniImageNet you need to download the ImageNet dataset and execute the script utils.create_miniImagenet.py changing the lines:\n```\npathImageNet = '\u003cpath_to_downloaded_ImageNet\u003e/ILSVRC2012_img_train'\npathminiImageNet = '\u003cpath_to_save_MiniImageNet\u003e/miniImagenet/'\n```\nAnd also change the main file option.py line or pass it by command line arguments:\n```\nparser.add_argument('--dataroot', type=str, default='\u003cpath_to_save_MiniImageNet\u003e/miniImagenet/',help='path to dataset')\n```\n\n## Installation\n\n    $ pip install -r requirements.txt\n    $ python main.py \n    \n\n## Acknowledgements\nSpecial thanks to @sachinravi14 for their Torch implementation. I intend to replicate their code using Pytorch. More details at https://github.com/twitter/meta-learning-lstm\n\n## Cite\n```\n@inproceedings{Sachin2017,\n  title={Optimization as a model for few-shot learning},\n  author={Ravi, Sachin and Larochelle, Hugo},\n  booktitle={In International Conference on Learning Representations (ICLR)},\n  year={2017}\n}\n```\n\n\n## Authors\n\n* Albert Berenguel (@aberenguel) [Webpage](https://scholar.google.es/citations?user=HJx2fRsAAAAJ\u0026hl=en)\n","funding_links":[],"categories":["Python","Paper implementations｜论文实现","Paper implementations"],"sub_categories":["Other libraries｜其他库:","Other libraries:"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitabcworld%2FFewShotLearning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitabcworld%2FFewShotLearning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitabcworld%2FFewShotLearning/lists"}