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

Common utility functions to be implemented #13

Open
6 tasks
furiosamg opened this issue Aug 4, 2022 · 1 comment
Open
6 tasks

Common utility functions to be implemented #13

furiosamg opened this issue Aug 4, 2022 · 1 comment

Comments

@furiosamg
Copy link
Collaborator

Model Zoo에서 러스트로 구현할 유틸리티 함수들

Image

  • Image opening?
  • Center crop
  • Zero-pad extension
  • Color <-> grayscale conversion
  • Image patch slicer/weaver (w/ padding?)
    ...

Postprocessing

  • nms
    ...
@hyunsik
Copy link
Member

hyunsik commented Aug 4, 2022

개발 노력 (Python 으로 이미 있는 코드나 기존 라이브러리로 쉽게 구현 가능성) 그리고 Rust로 구현 했을 때 이득을 비교해서 효용성을 고려해서 우선 순위를 선택하면 좋을 것 같습니다.

아마도 좋은 전략은 Python Reference로 end-to-end로 latency 를 측정해보고 bottleneck을 식별해서 문제되는 Python 부분이 있다면 대체 구현을 Rust로 시도해 보는 것 일 것 같네요.

이와 같은 전략으로 선택된 부분이 현재 Post processing 부분 일 것 같은데요. 현재 모델들에서 end-to-end로 봤을 때 약 50% 정도 overhead를 차지하고 있습니다.

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

2 participants