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

[Feat] processing time 가속화 #33

Open
1 task
Hyunmin-H opened this issue Aug 16, 2023 · 0 comments
Open
1 task

[Feat] processing time 가속화 #33

Hyunmin-H opened this issue Aug 16, 2023 · 0 comments

Comments

@Hyunmin-H
Copy link
Contributor

Background

  • 고객에게 보다 더 빠른 서비스 제공을 위함.

To Do

  • pipeline의 IO 형식 변경(image byte로)

See Also

  • 기존에는 schp, openpose, ladi 모델들의 inference할 때마다 input data를 저장 및 읽는 형태였음. 이를 image byte를 곧바로 전달하는 방식으로 변경
Hyunmin-H added a commit that referenced this issue Aug 16, 2023
- simple_extractor.py에 image 한장이 input일 경우의  inference 함수
구현(main_schp_from_image_byte 함수)
- front/back에서도 byte 형식 전달로 변경
Hyunmin-H added a commit that referenced this issue Aug 16, 2023
- openpose의 Input 형식을 image byte로, output 형식을 dictionary
형식으로 변경

related to : #31
Hyunmin-H added a commit that referenced this issue Aug 16, 2023
- garment masking input 형식을 image byte, output 형식을 PIL 형식으로.
- gcp class에 json 파일 저장 코드 추가

related to : #31
Hyunmin-H added a commit that referenced this issue Aug 17, 2023
- cut and paste의 io를 in memory 방식으로 변경

related to : #31
Hyunmin-H added a commit that referenced this issue Aug 17, 2023
- in memory로 input data를 불러들이는 방식으로 변경
- 기존에는 경로에 저장된 이미지를 읽는 방식이었음
- 함수의 input으로 parsing image, 3D keypoint dictionary, target과
garmetn의 image byte, garment mask 값이 들어감

related to #31
Hyunmin-H added a commit that referenced this issue Aug 17, 2023
- 함수명 변경

related to : #33
Hyunmin-H added a commit that referenced this issue Aug 17, 2023
- main.py의 inference 함수 다시 구현(inference_preprocess 함수)

related to : #31
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

No branches or pull requests

1 participant