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

Optimize adaptive tiling #2164

Conversation

goodsong81
Copy link
Contributor

@goodsong81 goodsong81 commented May 17, 2023

Summary

  • Refine adaptive tiling parameter logic
  • Area -> size for ratio computation
  • Tune object-tile ratio: 16x16 object in 512x512 model -> 16/512 = 0.3
  • Fix overlap_ratio in IR inference according to IR scale factor
  • Apply edge fix from @eugene123tw
  • Apply 512x512 size as default for tiling
  • Add logs for debugging
  • Fix config patching
  • Temporary torch 1.12.1

How to test

Checklist

  • I have added unit tests to cover my changes.​
  • I have added integration tests to cover my changes.​
  • I have added e2e tests for validation.
  • I have added the description of my changes into CHANGELOG in my target branch (e.g., CHANGELOG in develop).​
  • I have updated the documentation in my target branch accordingly (e.g., documentation in develop).
  • I have linked related issues.

License

  • I submit my code changes under the same Apache License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below).
# Copyright (C) 2023 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

goodsong81 and others added 4 commits May 17, 2023 17:52
- Use size rather than area
- 32 pixels as min detectable size
- Default object_tile_ratio = 32 / 1024 = 0.03
Signed-off-by: Songki Choi <songki.choi@intel.com>
@github-actions github-actions bot added ALGO Any changes in OTX Algo Tasks implementation API Any changes in OTX API BUILD labels May 17, 2023
@goodsong81 goodsong81 closed this May 23, 2023
@goodsong81 goodsong81 deleted the songkich/optimize-adaptive-tiling branch May 23, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ALGO Any changes in OTX Algo Tasks implementation API Any changes in OTX API BUILD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants