Skip to content

Suggest to loosen the dependency on albumentations #45

Description

@Agnes-U

Hi, your project retinaface(commit id: b72317d) requires "albumentations==1.0.0" in its dependency. After analyzing the source code, we found that the following versions of albumentations can also be suitable, i.e., albumentations 1.0.1, 1.0.2, 1.0.3, since all functions that you directly (9 APIs: albumentations.augmentations.geometric.rotate.RandomRotate90.init, albumentations.core.composition.Compose.init, albumentations.core.composition.Compose.init, albumentations.augmentations.geometric.resize.LongestMaxSize.init, albumentations.core.composition.KeypointParams.init, albumentations.core.composition.Compose.init, albumentations.core.serialization.from_dict, albumentations.core.composition.BboxParams.init, albumentations.augmentations.transforms.Normalize.init) or indirectly (propagate to 10 albumentations's internal APIs and 0 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.

Therefore, we believe that it is quite safe to loose your dependency on albumentations from "albumentations==1.0.0" to "albumentations>=1.0.0,<=1.0.3". This will improve the applicability of retinaface and reduce the possibility of any further dependency conflict with other projects.

May I pull a request to further loosen the dependency on albumentations?

By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions