{"id":20360757,"url":"https://github.com/masadcv/pytorchsparsemodules","last_synced_at":"2025-03-04T18:26:56.488Z","repository":{"id":243752832,"uuid":"813351927","full_name":"masadcv/PyTorchSparseModules","owner":"masadcv","description":"Collection of learnable sparse modules for pytorch models","archived":false,"fork":false,"pushed_at":"2024-06-10T23:21:34.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T02:53:18.463Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masadcv.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":"2024-06-10T23:20:59.000Z","updated_at":"2024-06-10T23:21:38.000Z","dependencies_parsed_at":"2024-06-11T01:58:08.419Z","dependency_job_id":"12b5e95e-0945-4a64-b5fe-9b5416541964","html_url":"https://github.com/masadcv/PyTorchSparseModules","commit_stats":null,"previous_names":["masadcv/pytorchsparsemodules"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masadcv%2FPyTorchSparseModules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masadcv%2FPyTorchSparseModules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masadcv%2FPyTorchSparseModules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masadcv%2FPyTorchSparseModules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masadcv","download_url":"https://codeload.github.com/masadcv/PyTorchSparseModules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241898034,"owners_count":20039039,"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-14T23:42:51.474Z","updated_at":"2025-03-04T18:26:56.469Z","avatar_url":"https://github.com/masadcv.png","language":"Python","readme":"# Simple Sparse Convolutions\n[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\u003c!-- [![PyPI version](https://badge.fury.io/py/torchhaarfeatures.svg)](https://badge.fury.io/py/torchhaarfeatures) --\u003e\n\u003c!-- \u003cimg src=\"https://img.shields.io/badge/Python-3.6%20|%203.7%20|%203.8%20|%203.9-3776ab.svg\"/\u003e --\u003e\n\u003c!-- \u003cimg src=\"https://img.shields.io/badge/PyTorch-%3E%3D%201.6-brightgreen.svg\"/\u003e --\u003e\n\nThis repository implements simplest forms of sparse convolutions in PyTorch. \n\nWithin the repository, implementation is provided for the following:\n\n## Installation\nThis package can be installed as: \n\n`pip install torchsparsemodules`\n\nor \n\n`pip install git+https://github.com/masadcv/PyTorchSparseModules`\n\n## Examples\nUsage examples are provided in example python files within the repository.\n\nA simple example (`example.py`) usage following a PyTorch usage format:\n\n```\nimport torchsparsemodules\nimport torch\n\nsparseconv3d = torchsimplesparseconv.Conv3d(kernel_size=(9, 9, 9), stride=1)\noutput_sparse_conv3d = sparseconv3d(torch.rand(size=(1, 1, 128, 128, 128)))\n\nprint(output_sparse_conv3d.shape)\n\nsparseconv3d = torchsimplesparseconv.Conv2d(kernel_size=(9, 9), stride=1)\noutput_sparse_conv2d = sparseconv3d(torch.rand(size=(1, 1, 128, 128)))\nprint(output_sparse_conv2d.shape)\n```\n\n## Citation\nIf you use our code, please consider citing our paper:\n\n```\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasadcv%2Fpytorchsparsemodules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasadcv%2Fpytorchsparsemodules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasadcv%2Fpytorchsparsemodules/lists"}