{"id":16997209,"url":"https://github.com/activatedgeek/lenet-5","last_synced_at":"2025-04-07T13:06:34.841Z","repository":{"id":29820169,"uuid":"110404551","full_name":"activatedgeek/LeNet-5","owner":"activatedgeek","description":"PyTorch implementation of LeNet-5 with live visualization","archived":false,"fork":false,"pushed_at":"2023-01-27T01:11:49.000Z","size":11,"stargazers_count":232,"open_issues_count":8,"forks_count":97,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-31T11:05:18.636Z","etag":null,"topics":["cnn","convolutional-neural-networks","deep-learning","deep-neural-networks","lenet5","machine-learning","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/activatedgeek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-12T04:25:33.000Z","updated_at":"2025-03-26T14:20:57.000Z","dependencies_parsed_at":"2023-02-15T03:46:47.536Z","dependency_job_id":null,"html_url":"https://github.com/activatedgeek/LeNet-5","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/activatedgeek%2FLeNet-5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activatedgeek%2FLeNet-5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activatedgeek%2FLeNet-5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activatedgeek%2FLeNet-5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/activatedgeek","download_url":"https://codeload.github.com/activatedgeek/LeNet-5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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":["cnn","convolutional-neural-networks","deep-learning","deep-neural-networks","lenet5","machine-learning","pytorch"],"created_at":"2024-10-14T03:54:14.125Z","updated_at":"2025-04-07T13:06:34.815Z","avatar_url":"https://github.com/activatedgeek.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeNet-5\n\nThis implements a slightly modified LeNet-5 [LeCun et al., 1998a] and achieves an accuracy of ~99% on the [MNIST dataset](http://yann.lecun.com/exdb/mnist/).\n\n\n![Epoch Train Loss visualization](https://i.imgur.com/h4h7CrF.gif)\n\n## Setup\n\nInstall all dependencies using the following command\n\n```\n$ pip install -r requirements.txt\n```\n\n## Usage\n\nStart the `visdom` server for visualization\n\n```\n$ python -m visdom.server\n```\n\nStart the training procedure\n\n```\n$ python run.py\n```\n\nSee epoch train loss live graph at [`http://localhost:8097`](http://localhost:8097).\n\nThe trained model will be exported as ONNX to `lenet.onnx`. The `lenet.onnx` file can be viewed with [Neutron](https://www.electronjs.org/apps/netron)\n\n## References\n\n[[1](http://yann.lecun.com/exdb/publis/pdf/lecun-98.pdf)] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner. \"Gradient-based learning applied to document recognition.\" Proceedings of the IEEE, 86(11):2278-2324, November 1998.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivatedgeek%2Flenet-5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivatedgeek%2Flenet-5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivatedgeek%2Flenet-5/lists"}