{"id":18575236,"url":"https://github.com/tensorboy/pidoptimizer","last_synced_at":"2026-02-25T23:32:59.288Z","repository":{"id":113036463,"uuid":"124595080","full_name":"tensorboy/PIDOptimizer","owner":"tensorboy","description":"Code for this CVPR 2018 paper: \"A PID Controller Approach for Stochastic Optimization of Deep Networks\",  Wangpeng An, Haoqian Wang, Qingyun Sun, Jun Xu, Qionghai Dai, Lei Zhang.","archived":false,"fork":false,"pushed_at":"2019-05-09T02:38:46.000Z","size":12115,"stargazers_count":186,"open_issues_count":8,"forks_count":54,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-12-08T20:59:36.356Z","etag":null,"topics":[],"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/tensorboy.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,"governance":null}},"created_at":"2018-03-09T21:26:53.000Z","updated_at":"2025-12-03T11:53:55.000Z","dependencies_parsed_at":"2023-06-06T13:00:54.306Z","dependency_job_id":null,"html_url":"https://github.com/tensorboy/PIDOptimizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tensorboy/PIDOptimizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorboy%2FPIDOptimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorboy%2FPIDOptimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorboy%2FPIDOptimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorboy%2FPIDOptimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorboy","download_url":"https://codeload.github.com/tensorboy/PIDOptimizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorboy%2FPIDOptimizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29844872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-06T23:18:10.075Z","updated_at":"2026-02-25T23:32:59.275Z","avatar_url":"https://github.com/tensorboy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PIDOptimizer (Proportional–Integral–Derivative Optimizer)\nThis repository contains source code of the CVPR 2018 paper:\n* [*A PID Controller Approach for Stochastic Optimization of Deep Networks*](http://www4.comp.polyu.edu.hk/~cslzhang/paper/CVPR18_PID.pdf), Wangpeng An, Haoqian Wang, Qingyun Sun, Jun Xu, Qionghai Dai, Lei Zhang.\n## Prerequisite: \n* matplotlib==2.0.2\n\n## Train MLP on MNIST DATAST\n`python mnist_pid.py`\n`python mnist_momentum.py`\n`python compare.py`\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"moment_vs_pid.jpg\" width=\"700px\" /\u003e\n  \u003cp\u003ePID Vs. SGD-Momentum\u003c/p\u003e\n\u003c/div\u003e\n\n## Citation:\nIf PIDOptimizer is used in your paper/experiments, please cite the following paper.\n```\n@InProceedings{An_2018_CVPR,\nauthor = {An, Wangpeng and Wang, Haoqian and Sun, Qingyun and Xu, Jun and Dai, Qionghai and Zhang, Lei},\ntitle = {A PID Controller Approach for Stochastic Optimization of Deep Networks},\nbooktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},\nmonth = {June},\nyear = {2018}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorboy%2Fpidoptimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorboy%2Fpidoptimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorboy%2Fpidoptimizer/lists"}