{"id":21768325,"url":"https://github.com/ymtoo/nnutils.jl","last_synced_at":"2025-03-21T05:44:17.641Z","repository":{"id":129413644,"uuid":"358190210","full_name":"ymtoo/NNUtils.jl","owner":"ymtoo","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-07T09:26:35.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T02:44:39.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/ymtoo.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":"2021-04-15T08:48:22.000Z","updated_at":"2021-12-16T02:07:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"df495bb6-de81-4322-ae4f-387514c41a80","html_url":"https://github.com/ymtoo/NNUtils.jl","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/ymtoo%2FNNUtils.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtoo%2FNNUtils.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtoo%2FNNUtils.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymtoo%2FNNUtils.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymtoo","download_url":"https://codeload.github.com/ymtoo/NNUtils.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745720,"owners_count":20503048,"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-26T13:35:33.520Z","updated_at":"2025-03-21T05:44:17.606Z","avatar_url":"https://github.com/ymtoo.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NNUtils\nThis package provides neural net utilities:\n- standard networks\n  - [x] mobilenets\n  - [ ] resnet\n- neural network blocks\n  - [x] DepthwiseSeparableConv\n  - [x] BottleneckResidual\n  - [x] ResnetResidualv1\n  - [x] ResnetResidualv2\n- neural network layers\n  - [x] Sinc Conv\n- saliency maps \n  - [x] Gradient\n  - [x] SmoothGradient\n  \nbased on [Flux.jl](https://github.com/FluxML/Flux.jl).\n\n\n## Installation\n```julia\nusing Pkg; pkg\"add https://github.com/ymtoo/NNUtils.jl.git\"\n```\n\n## Usage\n### SincConv\n```julia-repl\njulia\u003e using Flux, NNUtils\n\njulia\u003e fs = 9600f0\n9600.0f0\n\njulia\u003e model = SincConv(fs, (200, 1), 1=\u003e8, identity)\nSincConv(9600.0, (200, 1), 1=\u003e8)\n\njulia\u003e params(model) |\u003e length\n2\n\njulia\u003e params(model)[1] |\u003e size\n(1, 8)\n\njulia\u003e params(model)[2] |\u003e size\n(1, 8)\n\njulia\u003e x = randn(Float32, 4800, 1, 1, 16)\n4800×1×1×16 Array{Float32, 4}:\n[:, :, 1, 1] =\n 1.3832613\n 0.42255098\n ⋮\n 0.3134887\n\n[:, :, 1, 2] =\n 2.0712132\n 0.13467419\n ⋮\n\n julia\u003e model(x)\n 4601×1×8×16 Array{Float32, 4}:\n [:, :, 1, 1] =\n   -3498.0605\n  -17983.041\n   20055.25\n   -1296.112\n       ⋮\n    1844.9044\n   10672.3125\n  -12256.136\n \n [:, :, 2, 1] =\n    521.0923\n   8794.186\n   4179.6655\n  -4084.1067\n      ⋮\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymtoo%2Fnnutils.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymtoo%2Fnnutils.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymtoo%2Fnnutils.jl/lists"}