Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 fasitai 库,当我尝试加载模型时,我想从当前目录中获取模型。
learn = load_learner('This arg. have to my current directory','model.pkl')
我尝试了 os.get_cwd() 和 ' ./ ',但它们不起作用。谢谢
我找到了解决方案
learn = load_learner('','model.pkl')
第一个参数。必须是空格 '' 。