Skip to content

Commit

Permalink
-1 keeps original
Browse files Browse the repository at this point in the history
  • Loading branch information
hkchengrex committed Jul 7, 2024
1 parent 6a45ece commit d24ab45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():
cutie = get_default_model()
processor = InferenceCore(cutie, cfg=cutie.cfg)
# the processor matches the shorter edge of the input to this size
# you might want to experiment with different sizes
# you might want to experiment with different sizes, -1 keeps the original size
processor.max_internal_size = 480

image_path = './examples/images/bike'
Expand Down
2 changes: 1 addition & 1 deletion scripting_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():
# Typically, use one InferenceCore per video
processor = InferenceCore(cutie, cfg=cutie.cfg)
# the processor matches the shorter edge of the input to this size
# you might want to experiment with different sizes
# you might want to experiment with different sizes, -1 keeps the original size
processor.max_internal_size = 480

image_path = './examples/images/bike'
Expand Down
2 changes: 1 addition & 1 deletion scripting_demo_add_del_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():
# Typically, use one InferenceCore per video
processor = InferenceCore(cutie, cfg=cutie.cfg)
# the processor matches the shorter edge of the input to this size
# you might want to experiment with different sizes
# you might want to experiment with different sizes; -1 keeps the original size
processor.max_internal_size = 480

image_path = './examples/images/judo'
Expand Down

0 comments on commit d24ab45

Please sign in to comment.