albumentations-team / albucore

A high-performance image processing library designed to optimize and extend the Albumentations library with specialized functions for advanced image transformations. Perfect for developers working in computer vision who require efficient and scalable image augmentation.
MIT License
12 stars 3 forks source link

Import Error on albucore 0.0.17 #33

Closed W1ls0nG0 closed 1 month ago

W1ls0nG0 commented 1 month ago

Exception has occurred: ImportError cannot import name 'preserve_channel_dim' from 'albucore.utils' (/home/user/.pyenv/versions/general/lib/python3.11/site-packages/albucore/utils.py)

Exception happened when trying to import albumentations. 0.0.15 work fine.

environment: python3.11.10

myhloli commented 1 month ago

same error with me.

samedii commented 1 month ago

Downgrading worked for me.

albucore = "^0.0.16"

cyborghunt commented 1 month ago

Downgrading worked for me.

albucore = "^0.0.16"

hey man can u tell what exactly you did that helped i have been trying for a good while nothing seems to work

wclemonade commented 1 month ago

Downgrading worked for me. albucore = "^0.0.16"

hey man can u tell what exactly you did that helped i have been trying for a good while nothing seems to work just pip install -U albucore==0.0.16

cyborghunt commented 1 month ago

thanks for the help brother

ternaus commented 1 month ago

Released version 1.4.16 of albumentations. Works correcly with albucore 0.0.17