{"id":27512040,"url":"https://github.com/mdciri/teeth-segmentation","last_synced_at":"2025-07-04T18:05:35.817Z","repository":{"id":40518260,"uuid":"507557448","full_name":"mdciri/teeth-segmentation","owner":"mdciri","description":"teeth segmentation using pytorch and monai","archived":false,"fork":false,"pushed_at":"2023-03-23T22:24:05.000Z","size":832,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-06-05T02:15:33.967Z","etag":null,"topics":["deep-learning","gui","image-segmentation","monai","pytorch","teeth-segmentation","unet-image-segmentation"],"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/mdciri.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":"2022-06-26T11:38:04.000Z","updated_at":"2023-06-05T00:55:43.000Z","dependencies_parsed_at":"2022-07-26T14:02:14.264Z","dependency_job_id":null,"html_url":"https://github.com/mdciri/teeth-segmentation","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdciri%2Fteeth-segmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdciri%2Fteeth-segmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdciri%2Fteeth-segmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdciri%2Fteeth-segmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdciri","download_url":"https://codeload.github.com/mdciri/teeth-segmentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249390982,"owners_count":21263196,"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":["deep-learning","gui","image-segmentation","monai","pytorch","teeth-segmentation","unet-image-segmentation"],"created_at":"2025-04-17T23:29:37.425Z","updated_at":"2025-04-17T23:29:37.949Z","avatar_url":"https://github.com/mdciri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Teeth Segmentation\n\nTeeth segmentation using Pytorch and [Monai](https://monai.io/). The data used belong to the [Tufts Dental Database](http://tdd.ece.tufts.edu/).\n\n# Data split\nThe Thfts dataset is composed by 1000 images in total which were randomly divided as 70-20-10% in training, validation, and test set. The split is done by:\n\n    pyhton data_split.py\n\nwhich save the dataset lists in the `data.json` file. It stores also the class names and the class weights for the segmentation.\n\n# Model\n\nSimple UNet network created using `monai.netowrks`.\n\n# Training\n    pthon train.py -md \"\u003cmodel_directory\u003e\" -d \"mps\" -g 0 -bs 16 -lr 1.e-4 -ne 100\n\nThis scripts runs the training scrits. It:\n\n- saves the best model at the specified `\"\u003cmodel_directory\u003e\"`, \n- uses the device `\"mps\"` (but you can use `\"cuda\"` or `\"cpu\"`)\n- GPU at position `0`,\n- batch size `16`, \n- learning rate `1.e-4`,\n- `100` number of maximum epochs.\n\n# Evaluation\n    pthon evaluation.py -md \"\u003cmodel_directory\u003e\" -d \"mps\" -g 0 -bs 1 \n\nThis script computes evaluation over the training, validation, and test dataset saving the dice score per each image in the file `evaluation_results.csv`.\n\n# GUI\n    pthon gui.py\n\nThis scripts runs a simple GUI where the user can upload an image, visualize the model's segmentation prediction, and, in case, save it.\n\n![](gui.gif)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdciri%2Fteeth-segmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdciri%2Fteeth-segmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdciri%2Fteeth-segmentation/lists"}