Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/atmos #9

Merged
merged 4 commits into from
Sep 10, 2021
Merged

Feature/atmos #9

merged 4 commits into from
Sep 10, 2021

Conversation

ehddnr301
Copy link
Contributor

Add temperature prediction

  • Use tensorflow model
  • db without ORM
  • Load Model just one time

chl8469 and others added 4 commits September 9, 2021 17:24
모델을 한번만 로드하기위한 class를 활용한 코드입니다.
72시간의 온도데이터를 받아서 24시간 예측을 수행하는 api입니다.
모델은 tensorflow로 만들어져 있으며 DB에는 압축하여 binary로 저장하였습니다. 첫 1회만 DB에서 읽어와 모델을 로드한 후 계속 메모리에 남아 요청이 들어올 때 마다 예측을 수행합니다.
------------------------------------------------------------------------------
편의를 위해 main.py를 실행하면 바로 uvicorn server가 실행되도록 변경하였습니다.
모델파일들 삭제했습니다.
@ehddnr301 ehddnr301 merged commit 213b340 into develop Sep 10, 2021
@ehddnr301 ehddnr301 deleted the feature/atmos branch September 10, 2021 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants