{"id":21181622,"url":"https://github.com/utility-code/lightningaddons","last_synced_at":"2025-07-12T12:07:03.409Z","repository":{"id":62576077,"uuid":"378380521","full_name":"utility-code/lightningAddOns","owner":"utility-code","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-01T17:33:31.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T00:19:53.866Z","etag":null,"topics":[],"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/utility-code.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":"2021-06-19T10:05:23.000Z","updated_at":"2022-01-11T21:51:19.000Z","dependencies_parsed_at":"2022-11-03T17:37:18.512Z","dependency_job_id":null,"html_url":"https://github.com/utility-code/lightningAddOns","commit_stats":null,"previous_names":["subhadityamukherjee/lightningaddons"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utility-code%2FlightningAddOns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utility-code%2FlightningAddOns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utility-code%2FlightningAddOns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utility-code%2FlightningAddOns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utility-code","download_url":"https://codeload.github.com/utility-code/lightningAddOns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243634761,"owners_count":20322823,"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":[],"created_at":"2024-11-20T17:51:41.302Z","updated_at":"2025-03-14T19:28:20.681Z","avatar_url":"https://github.com/utility-code.png","language":"Python","readme":"# Lightning AddOns\n\n- Additional functionality for [Pytorch Lightning](https://github.com/PyTorchLightning/pytorch-lightning)\n\n# Pip!!\n- Now you can directly do a pip install\n- pip install lightningaddon\n\n# Useful functions\n- Please check [DOCUMENTATION](https://subhadityamukherjee.github.io/lightningAddOns/)\n- For some useful functions check [use](useful.md)\n\n## Features (in progress)\n- The documentation is in progress and of course, many more features are on the way. \n### General\n- compose multiple functions on data\n- time any function\n- parallelly run any function on a list\n- download from url\n\n### Torch related\n- model vis using hiddenlayer\n- clear gpu memory easily \n- flatten\n- get a histogram\n- find modules with a condition\n- check if linear layer\n- seed everything\n- freeze/unfreeze parts of a model\n- count paramemeters and display tables\n- count paramemeter state (frozen/unfrozen)\n- easy pil\u003c-\u003etensor\n- open image -\u003e resize -\u003e convert to tensor\n\n## Models\n- xresnet (all variants)\n\n## Requirements\n- PyTorchLightning. (This will install pretty much everything else)\n- einops\n\n## FAQ\n- Why?\n        - Well, lightning is an awesome library but there are some things I wanted globally so I decided to make an \"Add Ons\" package. \n- Why not contribute instead?\n        - I might once this package does significant extra stuff\n\n## Thank you\n- A huge thank you to Jeremy Howard and [fastai](https://github.com/fastai). Many of these tricks are inspired by the amazing work done there. \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futility-code%2Flightningaddons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futility-code%2Flightningaddons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futility-code%2Flightningaddons/lists"}