{"id":13601253,"url":"https://github.com/vzhou842/cnn-from-scratch","last_synced_at":"2025-09-09T19:16:06.630Z","repository":{"id":37604705,"uuid":"187948506","full_name":"vzhou842/cnn-from-scratch","owner":"vzhou842","description":"A Convolutional Neural Network implemented from scratch (using only numpy) in Python.","archived":false,"fork":false,"pushed_at":"2024-08-02T16:20:53.000Z","size":17,"stargazers_count":325,"open_issues_count":3,"forks_count":111,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-25T18:07:16.048Z","etag":null,"topics":["computer-vision","convolutional-neural-networks","guide","machine-learning","neural-network","python"],"latest_commit_sha":null,"homepage":"https://victorzhou.com/blog/intro-to-cnns-part-1/","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/vzhou842.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-22T02:32:42.000Z","updated_at":"2025-05-23T21:36:47.000Z","dependencies_parsed_at":"2024-12-15T18:45:17.207Z","dependency_job_id":null,"html_url":"https://github.com/vzhou842/cnn-from-scratch","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"44e75d876b6ed6148e0da65cf8ee9424f55a2179"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vzhou842/cnn-from-scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzhou842%2Fcnn-from-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzhou842%2Fcnn-from-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzhou842%2Fcnn-from-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzhou842%2Fcnn-from-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vzhou842","download_url":"https://codeload.github.com/vzhou842/cnn-from-scratch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vzhou842%2Fcnn-from-scratch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274348135,"owners_count":25268972,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["computer-vision","convolutional-neural-networks","guide","machine-learning","neural-network","python"],"created_at":"2024-08-01T18:00:59.425Z","updated_at":"2025-09-09T19:16:06.604Z","avatar_url":"https://github.com/vzhou842.png","language":"Python","funding_links":[],"categories":["Learning"],"sub_categories":[],"readme":"# A Convolution Neural Network (CNN) From Scratch\nThis was written for my 2-part blog post series on CNNs:\n\n- [CNNs, Part 1: An Introduction to Convolution Neural Networks](https://victorzhou.com/blog/intro-to-cnns-part-1/)\n- [CNNs, Part 2: Training a Convolutional Neural Network](https://victorzhou.com/blog/intro-to-cnns-part-2/)\n\nTo see the code (forward-phase only) referenced in Part 1, visit the [forward-only](https://github.com/vzhou842/cnn-from-scratch/tree/forward-only) branch.\n\n## Usage\n\nInstall dependencies:\n\n```bash\n$ pip install -r requirements.txt\n```\n\nThen, run it with no arguments:\n\n```bash\n$ python cnn.py\n$ python cnn_keras.py\n```\n\nYou can also [run this code in your browser](https://repl.it/@vzhou842/A-CNN-from-scratch-Part-2).\n\n## More\n\nYou may also be interested in [a Neural Network implemented from scratch in Python](https://github.com/vzhou842/neural-network-from-scratch), which was written for my [introduction to Neural Networks](https://victorzhou.com/blog/intro-to-neural-networks/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzhou842%2Fcnn-from-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvzhou842%2Fcnn-from-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvzhou842%2Fcnn-from-scratch/lists"}