![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
github
特浓悠ha
这个作者很懒,什么都没留下…
展开
-
OSError: Error no file named pytorch_model.bin found in directory facebook/bart-large-cnn but there
下载facehugging里面的模型一直报这个错误:model = AutoModelForSeq2SeqLM.from_pretrained("facebook/bart-large-cnn") OSError: Error no file named pytorch_model.bin found in directory facebook/bart-large-cnn but there is a file for Flax weights. Use `from_flax=True` to lo原创 2022-03-05 23:31:58 · 4571 阅读 · 0 评论 -
error: src refspec master does not match any.
好久没用github了,找了篇新手教程重新学,然后出了一堆error教程到 git push -u origin master步骤出错常见原因:1.本地git仓库目录下为空2.本地仓库add后未commit3.git init错误解决方法这些试了对我都没用,然后猜想可能是分支名写错了,用git branch 查看一下,发现显示的是main应该输入的是git push -u origin main...原创 2021-06-06 21:09:35 · 82 阅读 · 0 评论