{"id":15910991,"url":"https://github.com/chekoduadarsh/random-pixel-drop","last_synced_at":"2025-04-03T01:42:31.765Z","repository":{"id":104032017,"uuid":"238461673","full_name":"chekoduadarsh/Random-Pixel-Drop","owner":"chekoduadarsh","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-13T18:27:03.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T15:48:10.290Z","etag":null,"topics":["augmentation-libraries","dropout","dropped-pixels","image-augmentation-preprocessing","imagedatagenerator"],"latest_commit_sha":null,"homepage":null,"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/chekoduadarsh.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":"2020-02-05T13:52:26.000Z","updated_at":"2022-02-27T10:30:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"51766480-e8dc-415d-9d6a-be791808a537","html_url":"https://github.com/chekoduadarsh/Random-Pixel-Drop","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"fe8e79eec8c3a163e9e6e87ea1bf324451c9515f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekoduadarsh%2FRandom-Pixel-Drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekoduadarsh%2FRandom-Pixel-Drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekoduadarsh%2FRandom-Pixel-Drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chekoduadarsh%2FRandom-Pixel-Drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chekoduadarsh","download_url":"https://codeload.github.com/chekoduadarsh/Random-Pixel-Drop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922240,"owners_count":20855343,"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":["augmentation-libraries","dropout","dropped-pixels","image-augmentation-preprocessing","imagedatagenerator"],"created_at":"2024-10-06T15:23:15.080Z","updated_at":"2025-04-03T01:42:31.747Z","avatar_url":"https://github.com/chekoduadarsh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Pixel Drop\nThis is a library written for `ImageDataGenerator()` from `keras.preprocessing` library.\n\nRandom pixel drop is inspired from dropout regularisation technique and cutout image augmentation technique. This library will randomly set image pixel values of the image to zeros for a given range of number. Which will be similar to dropout than switching neurons randomly to reduce over fitting this will introduce randomness in the input image to reduce over fitting \n# Implementation\n```\ngit clone https://github.com/chekoduadarsh/Random-Pixel-Drop\n```\nThe above given command will download the repository to your working directory, then in your python code tou can import the library as following,\n\n## With ImageDataGenerator in Keras\n\nIt is very easy to use if you are using ImageDataGenerator in Keras, get `drop` function from `get_random_pixel_drop()` which can be passed to `ImageDataGenerator` as `preprocessing_function`. This function uses 3 hyper parameters\n\n`Drop_num` -\u003e Number of dropped pixels\n\n`l_rand_bound` -\u003e lower boundry for random pixel value generation\n\n`u_rand_bound` -\u003e upper boundry for random pixel value generation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchekoduadarsh%2Frandom-pixel-drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchekoduadarsh%2Frandom-pixel-drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchekoduadarsh%2Frandom-pixel-drop/lists"}