lightly icon indicating copy to clipboard operation
lightly copied to clipboard

torchvision and torch incompatibility

Open NoviceMAn-prog opened this issue 2 years ago • 1 comments

AttributeError: module 'torchvision.datasets' has no attribute 'VisionDataset' While using the latest lightly version. Using pervious version throws the same error

NoviceMAn-prog avatar Apr 11 '22 16:04 NoviceMAn-prog

Hi @NoviceMAn-prog

Could you please share your torchvision version?

philippmwirth avatar Apr 11 '22 16:04 philippmwirth

@NoviceMAn-prog Hello, Have you fix this problem?

SonwYang avatar Dec 01 '22 03:12 SonwYang

Hi @SonwYang, could you share the error that happens for you? Including lightly version and torchvision version.

guarin avatar Dec 01 '22 07:12 guarin

I fixed this problem by myself. Just using the code "from torchvision.datasets import VisionDataset".

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年12月1日(星期四) 下午3:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [lightly-ai/lightly] torchvision and torch incompatibility (Issue #765)

Hi @SonwYang, could you share the error that happens for you? Including lightly version and torchvision version.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

SonwYang avatar Dec 01 '22 08:12 SonwYang

Great :) I'll close the issue then.

guarin avatar Dec 01 '22 08:12 guarin