【发布时间】:2022-01-20 21:07:08
【问题描述】:
我刚刚在我的虚拟环境env 中运行pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl 并尝试将其推送到我的github 存储库。我收到以下错误:
remote: error: Trace: 90d476c4b164da6a6760e99c35acdb468039d7f953530ddff65f3657e1628a08
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File env/lib/python3.8/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so is 149.44 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To https://github.com/arielCheng218/cubism.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/arielCheng218/cubism.git'
如何解决这个问题并将文件夹推送到我的遥控器? 我在 Mac 上运行它。 Python 版本为 3.8.2(64 位)。
【问题讨论】:
-
大文件推送失败,更多内容请见docs.github.com/en/repositories/working-with-files/…
-
有什么办法可以避免 LFS?还是github上的所有tensorflow项目都使用它?对不起,如果这是一个愚蠢的问题。
标签: python git tensorflow github