{"id":18005617,"url":"https://github.com/kuixu/pytorch_online_plotter","last_synced_at":"2025-07-19T10:03:06.432Z","repository":{"id":89422594,"uuid":"114867934","full_name":"kuixu/pytorch_online_plotter","owner":"kuixu","description":"Online meter ploter for pytorch. Real time ploting Accuracy, Loss, mAP, AUC, Confusion Matrix ","archived":false,"fork":false,"pushed_at":"2018-04-05T13:01:41.000Z","size":91,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T15:42:04.342Z","etag":null,"topics":["confusion-matrix","lossless","mean-average-precision","online","plot","pytorch","real-time"],"latest_commit_sha":null,"homepage":null,"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/kuixu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-20T09:23:32.000Z","updated_at":"2024-11-24T11:58:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6230597-026b-48d7-b181-535c068bb2ec","html_url":"https://github.com/kuixu/pytorch_online_plotter","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/kuixu%2Fpytorch_online_plotter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuixu%2Fpytorch_online_plotter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuixu%2Fpytorch_online_plotter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuixu%2Fpytorch_online_plotter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuixu","download_url":"https://codeload.github.com/kuixu/pytorch_online_plotter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245637159,"owners_count":20648102,"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":["confusion-matrix","lossless","mean-average-precision","online","plot","pytorch","real-time"],"created_at":"2024-10-30T00:20:48.967Z","updated_at":"2025-03-26T10:32:11.248Z","avatar_url":"https://github.com/kuixu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytorch_online_ploter\nOnline meter ploter for pytorch. Real time ploting Accuracy, Loss, mAP, AUC, Confusion Matrix \n\n## Start Visdom on a server\n\n```bash\npython -m visdom.server\n# python -m visdom.server -port 9999 # to specify port to ex, 9999\n```\n\n## Basic MNIST Example\n\n```bash\npip install -r requirements.txt\npython mnist.py\n# CUDA_VISIBLE_DEVICES=1 python mnist.py  # to specify GPU id to ex. 1\n\n# if you run Visdom with 9999\n# python mnist.py --port 9999\n```\n\n## Multi-meter\n\nEasy to plot multi-meter with just one-line code:\n\n### Plotting Accuracy, mAP\n\n```python\nmlog.update_meter(output, target, meters={'accuracy', 'map'})\n```\n\n### Plotting Loss Curve\n\n```python\n# NLL Loss\nnll_loss = F.nll_loss(output, target)\nmlog.update_loss(nll_loss, meter='nll_loss')\n\n# Cross Entropy Loss\nce_loss = F.cross_entropy(output, target)\nmlog.update_loss(ce_loss, meter='ce_loss')\n```\n\n## Remote Plotting\n\n```python\nmlog = MeterLogger(server=\"Server's IP\", nclass=10, title=\"mnist\")\n```\n\n## Real time plotting \n\nOpen your browser with URL: \n```bash\nhttp://localhost:9999\n# or\nhttp://ip:9999\n```\n\n![visdom.png](visdom.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuixu%2Fpytorch_online_plotter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuixu%2Fpytorch_online_plotter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuixu%2Fpytorch_online_plotter/lists"}