{"id":21379085,"url":"https://github.com/serezd/scheduling_utils","last_synced_at":"2025-03-16T10:24:54.812Z","repository":{"id":65668079,"uuid":"596941601","full_name":"SerezD/scheduling_utils","owner":"SerezD","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-21T12:49:54.000Z","size":133,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T22:30:40.775Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SerezD.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":"2023-02-03T09:14:25.000Z","updated_at":"2023-11-10T09:29:17.000Z","dependencies_parsed_at":"2025-01-22T22:36:50.881Z","dependency_job_id":null,"html_url":"https://github.com/SerezD/scheduling_utils","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/SerezD%2Fscheduling_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerezD%2Fscheduling_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerezD%2Fscheduling_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SerezD%2Fscheduling_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SerezD","download_url":"https://codeload.github.com/SerezD/scheduling_utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243854397,"owners_count":20358602,"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-22T10:17:13.614Z","updated_at":"2025-03-16T10:24:54.804Z","avatar_url":"https://github.com/SerezD.png","language":"Python","readme":"# LR Schedulers with C++ extensions\n\nImplements some LR scheduling functions to decay or ramp values across timestamps.  \n\n### Install\nInstall with: `pip install scheduling_utils`\n\n### Usage\nEach scheduler is available with full python code or c++ code \n([ctypes](https://docs.python.org/3/library/ctypes.html) is used for binding) \nwrapped into python classes.  \nTo initialize and use for example a cosine scheduler, do the following: \n\n```\n# import the c++ cosine scheduler\nfrom schedulers_cpp import CosineScheduler\n\n# use this to use the full python version\n# from schedulers import CosineScheduler\n\nstart_step = 0\nstop_step = 10\n\nstart_value = 5\nstop_value = 20\n\nscheduler = CosineScheduler(start_step, stop_step, start_value, stop_value)\n\n# get values corresponding to step\nfor step in range(10):\n    value = scheduler.step(step)\n```\n\n### Available Schedulers\nAvailable Schedulers at current version:\n- Linear:\n\n    ![linear-ramp](images/linear_ramp.png)\n    ![linear-decay](images/linear_decay.png)\n\n- Cosine:\n\n    ![cosine-ramp](images/cosine_ramp.png)\n    ![cosine-decay](images/cosine_decay.png)\n\n- LinearCosine:\n\n    ![linear-cosine](images/linear_cosine.png)\n ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserezd%2Fscheduling_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserezd%2Fscheduling_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserezd%2Fscheduling_utils/lists"}