learnables / learn2learn

A PyTorch Library for Meta-learning Research
http://learn2learn.net
MIT License
2.61k stars 350 forks source link

cicular import #344

Closed Chris-G-X closed 2 years ago

Chris-G-X commented 2 years ago

cicular import?????????why

Chris-G-X commented 2 years ago

cannot import name 'transforms' from partially initialized module 'learn2learn.data' (most likely due to a circular import) why?

seba-1511 commented 2 years ago

Are you installing with pip install learn2learn? If not, the most likely reason is that you’re missing cython: pip install cython.

swaggyP9527 commented 2 years ago

running the (maml_omniglot.py)and then: ImportError: cannot import name 'transforms' from partially initialized module 'learn2learn.data' (most likely due to a circular import)

seba-1511 commented 2 years ago

Did you try installing cython first?

swaggyP9527 commented 2 years ago

I had install cython first and then install learn2learn But why?

------------------ 原始邮件 ------------------ 发件人: "learnables/learn2learn" @.>; 发送时间: 2022年9月2日(星期五) 晚上10:19 @.>; 抄送: "Just a @.**@.>; 主题: Re: [learnables/learn2learn] cicular import (Issue #344)

Did you try installing cython first?

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

swaggyP9527 commented 1 year ago

now,i can run the maml_omniglot.py. But,Why are training results so unsteadiness

------------------ 原始邮件 ------------------ 发件人: "learnables/learn2learn" @.>; 发送时间: 2022年9月2日(星期五) 晚上10:19 @.>; 抄送: "Just a @.**@.>; 主题: Re: [learnables/learn2learn] cicular import (Issue #344)

Did you try installing cython first?

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