Skip to content

Readability and efficiency improvement for inference.#45

Open
IanLynnEE wants to merge 4 commits intoWeizhi-Zhong:mainfrom
IanLynnEE:main
Open

Readability and efficiency improvement for inference.#45
IanLynnEE wants to merge 4 commits intoWeizhi-Zhong:mainfrom
IanLynnEE:main

Conversation

@IanLynnEE
Copy link
Copy Markdown

@IanLynnEE IanLynnEE commented Jan 6, 2024

Add inference.py and util, reconstructed from inference_single.py, for better readability and efficiency:

  • Change parameters of video output (cv2.VideoWriter) for better quality and efficiency.
  • Minor changes for efficiency, such as how and when to create tensors.

@IanLynnEE IanLynnEE marked this pull request as ready for review January 6, 2024 12:08
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.

1 participant