Skip to content

v1.1

Compare
Choose a tag to compare
@doguilmak doguilmak released this 16 Aug 16:33
· 54 commits to main since this release
7ad2446

Migration from Version 1.0 to 1.1

Version: 1.1

Summary of Changes:

1. Image Dimensions Handling

  • New Feature: Automatic extraction of image dimensions (image_width, image_height) from the TIFF file during initialization.
    • Benefit: This removes the need to manually specify the image dimensions when creating an InferenceVision instance.

2. Improved Documentation

  • Enhancement: Added detailed docstrings to all class methods, improving clarity and usability.
    • Benefit: Users can now better understand each method’s purpose, input parameters, and expected outputs, making the class easier to use and integrate.

Migration Guide from v1.0 to v1.1

To upgrade from InferenceVision v1.0 to v1.1, follow these simple steps:

1. Initialization Changes

  • v1.0: When creating an InferenceVision instance, you had to provide the image dimensions (image_width and image_height) manually.
  • v1.1: Image dimensions are automatically extracted from the TIFF file, so you no longer need to pass image_width and image_height.

Example Migration:

# v1.0 Initialization
inference = InferenceVision(tif_path="path/to/image.tif", model_path="path/to/model.pt", image_width=1024, image_height=768)

# v1.1 Initialization (no need for image dimensions)
inference = InferenceVision(tif_path="path/to/image.tif", model_path="path/to/model.pt")