Lightning-Universe / lightning-bolts

Toolbox of models, callbacks, and datasets for AI/ML researchers.
https://lightning-bolts.readthedocs.io
Apache License 2.0
1.69k stars 323 forks source link

Issue with Pytorch Lightning and PL_Bolts versions, error import pl_bolts #1071

Open pankaja0285 opened 1 year ago

pankaja0285 commented 1 year ago

🐛 Bug

I get the following error

pl_bolts_error

To Reproduce

` Whether I do import pl_bolts

Or

from pl_bolts.models.autoencoders.components import ( resnet18_decoder, resnet18_encoder, ) `

Additional context

I need help with what versions of each to use in order to get the pl_bolts wiorking, i.e. torch, Pytorch_lightning and pytorch-lightning-bolts.

TIA

Borda commented 1 year ago

Hello, what version are you installed, released or from master?

pankaja0285 commented 1 year ago

Hello, what version are you installed, released or from master?

@Borda - I did just a straight pip install pytorch-lightning, pytorch-lightning-bolts

I even tried to do specific versions as I found in some link !pip install pytorch-lightning==1.9.0 pytorch-lightning-bolts==0.3.2

Still no luck.

Please advice.