Deci-AI / data-gradients

Computer Vision dataset analysis
Apache License 2.0
293 stars 33 forks source link

which version of pytorch and torchvision is required? #162

Closed wonchul-kim closed 1 year ago

wonchul-kim commented 1 year ago

💡 Your Question

I got this error: cannot import name 'vit_b_16' from 'torchvision.models'

for this: from data_gradients.managers.segmentation_manager import SegmentationAnalysisManager

Is there required version of torch/torchvision ?

Versions

No response

ofrimasad commented 1 year ago

Hi @wonchul-kim vit models were introduced in torchvision 0.12 (require torch > 1.11) Hope that helps :)