{"id":13737186,"url":"https://github.com/cosmic-cortex/pytorch-hooks-tutorial","last_synced_at":"2025-04-30T14:44:13.775Z","repository":{"id":215784528,"uuid":"259853042","full_name":"cosmic-cortex/pytorch-hooks-tutorial","owner":"cosmic-cortex","description":"A crash course on PyTorch hooks","archived":false,"fork":false,"pushed_at":"2020-04-29T07:32:48.000Z","size":2019,"stargazers_count":40,"open_issues_count":0,"forks_count":12,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T17:11:07.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cosmic-cortex.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}},"created_at":"2020-04-29T07:17:11.000Z","updated_at":"2024-03-09T07:51:44.000Z","dependencies_parsed_at":"2024-01-07T21:55:07.305Z","dependency_job_id":null,"html_url":"https://github.com/cosmic-cortex/pytorch-hooks-tutorial","commit_stats":null,"previous_names":["cosmic-cortex/pytorch-hooks-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmic-cortex%2Fpytorch-hooks-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmic-cortex%2Fpytorch-hooks-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmic-cortex%2Fpytorch-hooks-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmic-cortex%2Fpytorch-hooks-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmic-cortex","download_url":"https://codeload.github.com/cosmic-cortex/pytorch-hooks-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251723273,"owners_count":21633120,"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-08-03T03:01:37.120Z","updated_at":"2025-04-30T14:44:13.752Z","avatar_url":"https://github.com/cosmic-cortex.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# pytorch-hooks-tutorial\nA crash course on PyTorch hooks. A companion for my Medium post at LINK TO BE INSERTED LATER\n\n## Running the notebook\n1. Create a new virtual environment.\n```\nvirtualenv /path/to/venv --python /path/to/python3\n```\nThe path of your Python3 interpreter can be found by\n```\nwhich python3\n```\n2. Activate the virtual environment and install the required packages.\n```\nsource /path/to/venv/bin/activate\npip install -r requirements.txt\n```\n3. Install a Jupyter kernel inside the virtual environment.\n```\nipython kernel install --user --name=name-of-your-venv\n```\n4. Run Jupyter notebook and execute the notebook.\n\n## Attributions\nPhoto of cat by [Manja Vitolic](https://unsplash.com/@madhatterzone) on [Unsplash](https://unsplash.com/photos/gKXKBY-C-Dk).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmic-cortex%2Fpytorch-hooks-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmic-cortex%2Fpytorch-hooks-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmic-cortex%2Fpytorch-hooks-tutorial/lists"}