{"id":18249347,"url":"https://github.com/debugger404/multi-dimensional-image-modeling","last_synced_at":"2025-04-08T20:20:38.806Z","repository":{"id":182817190,"uuid":"365514262","full_name":"deBUGger404/multi-dimensional-image-modeling","owner":"deBUGger404","description":"PyTorch Multi-Dimension Model Training - 🖼️ Training models on random multi-dimensional images with labels. Includes datasets of 8D images and supports image classification using pretrained models like ResNet18, VGG16, DenseNet161, and AlexNet. Adjustable for 3D image training.","archived":false,"fork":false,"pushed_at":"2021-05-08T15:23:48.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T15:49:59.933Z","etag":null,"topics":["image","image-processing","model","multidimensional","python","pytorch","traninig"],"latest_commit_sha":null,"homepage":"","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/deBUGger404.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-05-08T12:55:19.000Z","updated_at":"2024-04-10T04:33:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a91f805b-e5aa-4998-8dae-1c5128615441","html_url":"https://github.com/deBUGger404/multi-dimensional-image-modeling","commit_stats":null,"previous_names":["debugger404/multi-dimensional-image-modeling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deBUGger404%2Fmulti-dimensional-image-modeling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deBUGger404%2Fmulti-dimensional-image-modeling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deBUGger404%2Fmulti-dimensional-image-modeling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deBUGger404%2Fmulti-dimensional-image-modeling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deBUGger404","download_url":"https://codeload.github.com/deBUGger404/multi-dimensional-image-modeling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247919205,"owners_count":21018076,"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":["image","image-processing","model","multidimensional","python","pytorch","traninig"],"created_at":"2024-11-05T09:39:48.837Z","updated_at":"2025-04-08T20:20:38.779Z","avatar_url":"https://github.com/deBUGger404.png","language":"Python","readme":"# Multi-Dimension Model Training in PyTorch\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/59862546/117540979-59b64100-b02f-11eb-9ea9-457ecf2e2271.png\" width=\"400\" height=\"200\"\u003e \u003cimg src=\"https://user-images.githubusercontent.com/59862546/117541029-9124ed80-b02f-11eb-91a0-4e5f4f0f062a.png\" width=\"400\" height=\"200\"\u003e\n\u003cp\u003e\n   \n## Dataset\nIn this project, model build for multi dimension images like image dimension \u003e3(rgb). so data created in such a manner where images are random 8 dimension images with their respective random labels.\n```\n   self.image = np.random.rand(5000,224,224,8)\n   self.labels = np.random.choice([0, 1], size=(5000,), p=[0.6,0.4])\n```\n\n## Image classification using pretrained model on random multi dimension image data\nBelow are the prettrained model used for this problem:\n1. resnet18\n2. vgg16\n3. densenet161\n4. alexnet\n\n\u003eIf train the model for 3-dimensional image then change input_dim = 3 \n\n## prediction\n```python\nimport torch\nfrom utils.utils import *\nx,y = dataset\nmodel = torch.load('model_multi_dim.pth')\ny_pred = model(x)\naccuracy = binary_acc(y_pred,y)\n```\n\n# Give a :star: To This Repository!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebugger404%2Fmulti-dimensional-image-modeling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebugger404%2Fmulti-dimensional-image-modeling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebugger404%2Fmulti-dimensional-image-modeling/lists"}