albumentations-team / autoalbument

AutoML for image augmentation. AutoAlbument uses the Faster AutoAugment algorithm to find optimal augmentation policies. Documentation - https://albumentations.ai/docs/autoalbument/
https://albumentations.ai/docs/autoalbument/
MIT License
198 stars 20 forks source link

UserWarning: In *********': Usage of deprecated keyword in package header #34

Open ihamdi opened 2 years ago

ihamdi commented 2 years ago

I just heard about AutoAlbumenate yesterday and I've been trying to get it to work ever since. It keeps telling me "Usage of deprecated keyword" in multiple places as well as "UserWarning: register_resolver() is deprecated."

I'm not even running my own code. Just trying to see how it works in the examples. Using Pytorch 1.8.1.

image

ihamdi commented 2 years ago

Solved by downgrading to torch 1.8.0 and hydra-core to 1.0.6, upgrading to python 3.7.11 from 3.6.13 (despite documentation saying 3.6 and higher is supported), and deleting caffe2_detectron_ops.dll from user/anaconda3/env/env-name/Lib/site-packages/torch/lib.