python在不同层级目录import模块的方法
#Wrong import from package import MyEnumClass # ... # in some method: return MyEnumClass.Member #Correct import: from package.MyEnumClass import MyEnumClass
#Wrong import import vilt.modules.vision_transformer as vit #Correct import from vilt.modules import vision_transformer as vit