{"id":22368597,"url":"https://github.com/sa-y-an/retro","last_synced_at":"2026-04-18T06:31:36.336Z","repository":{"id":64403931,"uuid":"415295952","full_name":"sa-y-an/retro","owner":"sa-y-an","description":"Stress Detection Webapp","archived":false,"fork":false,"pushed_at":"2022-12-07T20:57:02.000Z","size":1992,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:13:15.816Z","etag":null,"topics":["deep-learning","django","machine-learning","python","tensorflow"],"latest_commit_sha":null,"homepage":"https://retro-production.up.railway.app/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sa-y-an.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}},"created_at":"2021-10-09T11:57:08.000Z","updated_at":"2022-12-07T20:48:38.000Z","dependencies_parsed_at":"2022-12-14T13:00:57.878Z","dependency_job_id":null,"html_url":"https://github.com/sa-y-an/retro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sa-y-an/retro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-y-an%2Fretro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-y-an%2Fretro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-y-an%2Fretro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-y-an%2Fretro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sa-y-an","download_url":"https://codeload.github.com/sa-y-an/retro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sa-y-an%2Fretro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31959873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","django","machine-learning","python","tensorflow"],"created_at":"2024-12-04T18:36:40.266Z","updated_at":"2026-04-18T06:31:36.310Z","avatar_url":"https://github.com/sa-y-an.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stress Detection\n\nDo you know 77 percent of people experience stress that affects their physical health. 73 percent of people have stress that impacts their mental health. If left unchecked this can have severe consequences.\n\nWhat if you could monitor your stress from the comfort of your home ?\n\n## Stress detection using physiological data.\n\n- I have trained a deep learning model on the multimodal WESAD Dataset. ( Details in the `train_dir` folder )\n- Then I deployed the model to a webapp using Django.\n- Thus the users upload their phsyiological data to the Webapp, and django leverages the classifier model to classify their data between\n  1. Stress\n  2. Amusement\n  3. Neutral\n\n## The Architecture is shown below -\n\n\u003cimg src= 'screenshots/stress_detection.png' \u003e\n\n## Tech Stack Used\n\n- Django, Html/CSS\n- Tensorflow, numpy, pandas, sklearn, etc.\n\n# Setup\n\n- After cloning the repo, create a virtual-environment\n- Create a `config.json` file corrosponding to \u003ca href=\"dummy.json\"\u003edummy.json\u003c/a\u003e in the `stress_detection` folder.\n\n```python\npip install -r requirements.txt\npython local.py migrate\npython local.py runserver\n\n```\n\n\u003e PS : I use local.py in local environment to maintain a smooth flow, refer to my stackoverflow answer here - https://stackoverflow.com/questions/68766668/django-best-practice-for-running-switching-dev-debug-product-mode/68766902#68766902\n\u003e PPS: replace manage.py with local.py to get away from heroku\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa-y-an%2Fretro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsa-y-an%2Fretro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsa-y-an%2Fretro/lists"}