{"id":22128530,"url":"https://github.com/dsergiu/pytorch-lightning-beginner","last_synced_at":"2026-05-19T03:34:01.581Z","repository":{"id":126223738,"uuid":"293316515","full_name":"DSergiu/pytorch-lightning-beginner","owner":"DSergiu","description":"Showcase different Machine Learning Techniques using Pytorch Lightning.","archived":false,"fork":false,"pushed_at":"2022-11-29T21:45:30.000Z","size":2109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T14:16:16.404Z","etag":null,"topics":["pytorch","pytorch-lightning","pytorch-lightning-tutorial"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/DSergiu.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":"2020-09-06T16:27:08.000Z","updated_at":"2022-11-29T21:48:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"542bb0dc-042b-48f0-8b50-0ad88e9d7e12","html_url":"https://github.com/DSergiu/pytorch-lightning-beginner","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/DSergiu%2Fpytorch-lightning-beginner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSergiu%2Fpytorch-lightning-beginner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSergiu%2Fpytorch-lightning-beginner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSergiu%2Fpytorch-lightning-beginner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DSergiu","download_url":"https://codeload.github.com/DSergiu/pytorch-lightning-beginner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240285,"owners_count":20583099,"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":["pytorch","pytorch-lightning","pytorch-lightning-tutorial"],"created_at":"2024-12-01T17:45:41.673Z","updated_at":"2026-05-19T03:34:01.549Z","avatar_url":"https://github.com/DSergiu.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cb\u003ePytorch Lightning Beginner\u003c/b\u003e\u003cbr\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://www.python.org/\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/Python-3.8-ff55aa.svg\" /\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://pytorch-lightning.readthedocs.io/en/stable/\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/Pytorch%20Lightning-v1.8.3.post1-blue.svg\" /\u003e\n   \u003c/a\u003e\n   \u003ca href= \"https://github.com/DSergiu/pytorch-lightning-beginner/blob/master/LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" /\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n\n\nShowcase different ML techniques using Pytorch Lightning inspired by [pytorch-beginner](https://github.com/L1aoXingyu/pytorch-beginner).\n\nThe repository is split into `chapters` starting with basic linear regression and ending with more complex networks (e.g. RNNs, GANs). \nThere is a jupyter notebook within each chapter where one can experiment on training and usage of the trained models.\n\n## How to use?\n\n1. Clone repo\n    * `git clone https://github.com/DSergiu/pytorch-lightning-beginner`\n    * `cd pytorch-lightning-beginner`\n2. Create and activate virtual env\n    * `python3 -m venv venv \u0026\u0026 ./venv/Scripts/activate`\n3. Install dependencies\n    * `pip install -r requirements.txt`\n4. Start jupyter notebook\n    * `jupyter notebook`\n5. Open a notebook chapter and experiment (e.g. )\n    * e.g. open `01-Linear-Regression/Notebook.ipynb`\n\n## Useful training arguments\n\nWhen training you can experiment with following arguments. For a full list see [Pytorch Lightning Trainer](https://pytorch-lightning.readthedocs.io/en/latest/common/trainer.html).\n\n| Argument               | Description                                           |\n|------------------------|-------------------------------------------------------|\n| `--help`               | see list of arguments                                 |\n| `--fast_dev_run=True`  | fast run of training                                  |\n| `--max_epochs=20`      | run 20 epochs of training data set                    |\n| `--accelerator=cuda`   | train on cuda GPU                                     |\n| `--devices=2`          | train using 2 devices                                 |\n| `--deterministic=True` | training always produces same output given same input |\n\n## Prerequisites\n\nYou must be familiar with Python, Pytorch and Pytorch Lightning.\n\nTo understand the code please see official [Pytorch Lighning Docs](https://pytorch-lightning.readthedocs.io/en/stable/).\n\n## Requirements\n\n* python 3.8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsergiu%2Fpytorch-lightning-beginner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsergiu%2Fpytorch-lightning-beginner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsergiu%2Fpytorch-lightning-beginner/lists"}