使用 Git LFS 从 github 下载失败
downloading failed from github using Git LFS
我尝试使用 git 克隆从 this repository 下载存储库。当我使用
git clone https://github.com/eshijia/knowledge-graph-keras.git
我收到以下错误:
Error downloading object: data/freebase15k/freebase_15k-id2entity.pkl (d40c058): Smudge error: Error downloading data/freebase15k/freebase_15k-id2entity.pkl (d4 0c05819ce4431249d27970c5c6abbd4a09b9616f3321c5082227be7a5eea0d): LFS: Get https: //github-cloud.s3.amazonaws.com/alambic/media/127872792/d4/0c/d40c05819ce4431249 d27970c5c6abbd4a09b9616f3321c5082227be7a5eea0d?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIMWPLRQEC4XCWWPA%2F20180619%2Fus-east-1%2Fs3%2Faws4_request &X-Amz-Date=20180619T071649Z&X-Amz-Expires=3600&X-Amz-Signature=e4c596e3046463c5 0dc27e23ca22fbb036a9aa25f48449467af2b3b71117e8da&X-Amz-SignedHeaders=host&actor_ id=0&token=1: dial tcp 219.76.4.4:443: connectex: A connection attempt failed be cause the connected party did not properly respond after a period of time, or es tablished connection failed because connected host has failed to respond.
Errors logged to C:\Users\User\Desktop\Learning Materials\programming\python_cod e\DL\knowledge-graph-keras\.git\lfs\logs180619T151710.7131223.log Use `git lfs logs last` to view the log. error: external filter 'git-lfs filter-process' failed fatal: data/freebase15k/freebase_15k-id2entity.pkl: smudge filter lfs failed warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'
不过,如果我直接从原来的github页面下载data/freebase15k/freebase_15k-id2entity.pkl
,pkl文件是可以下载的。
有什么解决办法吗?
PS: 我的 git 版本是 2.17.1.windows.2
恢复 GIT-LFS
失败
连接
可能是连接不好导致的解决方法。
Git LFS 安装错误
您的驱动器上的 LFS 安装有问题。我能够解决它的唯一方法是:
• 删除失败的 HDD 上的回购。卸载 git-lfs
的任何实例
• 为 windows
安装 git-lfs
• 在 SourceTree 的回购下拉列表中验证 git-lfs 在已初始化
• 打开 Git shell,然后导航到刚刚克隆的本地存储库
• 输入 git lfs install
• 输入 git 拉
• 输入 git lfs pull
如果找不到立即解决方案的替代方案
分部下载
网络minhaskamal.github.io allows you to download the desired folder of a project, you just have to indicate the url and that's it, it's convenient and easy.
从 github
下载 zip
另一种选择是从同一存储库下载:
Clone > Download Zip
第三方软件
您还可以将其用于:
IDE 支持 Git 以及您可以尝试下载存储库的位置。
GUI 客户端:GIT download/gui/
我尝试使用 git 克隆从 this repository 下载存储库。当我使用
git clone https://github.com/eshijia/knowledge-graph-keras.git
我收到以下错误:
Error downloading object: data/freebase15k/freebase_15k-id2entity.pkl (d40c058): Smudge error: Error downloading data/freebase15k/freebase_15k-id2entity.pkl (d4 0c05819ce4431249d27970c5c6abbd4a09b9616f3321c5082227be7a5eea0d): LFS: Get https: //github-cloud.s3.amazonaws.com/alambic/media/127872792/d4/0c/d40c05819ce4431249 d27970c5c6abbd4a09b9616f3321c5082227be7a5eea0d?X-Amz-Algorithm=AWS4-HMAC-SHA256& X-Amz-Credential=AKIAIMWPLRQEC4XCWWPA%2F20180619%2Fus-east-1%2Fs3%2Faws4_request &X-Amz-Date=20180619T071649Z&X-Amz-Expires=3600&X-Amz-Signature=e4c596e3046463c5 0dc27e23ca22fbb036a9aa25f48449467af2b3b71117e8da&X-Amz-SignedHeaders=host&actor_ id=0&token=1: dial tcp 219.76.4.4:443: connectex: A connection attempt failed be cause the connected party did not properly respond after a period of time, or es tablished connection failed because connected host has failed to respond.
Errors logged to C:\Users\User\Desktop\Learning Materials\programming\python_cod e\DL\knowledge-graph-keras\.git\lfs\logs180619T151710.7131223.log Use `git lfs logs last` to view the log. error: external filter 'git-lfs filter-process' failed fatal: data/freebase15k/freebase_15k-id2entity.pkl: smudge filter lfs failed warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'
不过,如果我直接从原来的github页面下载data/freebase15k/freebase_15k-id2entity.pkl
,pkl文件是可以下载的。
有什么解决办法吗?
PS: 我的 git 版本是 2.17.1.windows.2
恢复 GIT-LFS
失败连接
可能是连接不好导致的解决方法。
Git LFS 安装错误
您的驱动器上的 LFS 安装有问题。我能够解决它的唯一方法是:
• 删除失败的 HDD 上的回购。卸载 git-lfs
的任何实例• 为 windows
安装 git-lfs• 在 SourceTree 的回购下拉列表中验证 git-lfs 在已初始化
• 打开 Git shell,然后导航到刚刚克隆的本地存储库
• 输入 git lfs install
• 输入 git 拉
• 输入 git lfs pull
如果找不到立即解决方案的替代方案
分部下载
网络minhaskamal.github.io allows you to download the desired folder of a project, you just have to indicate the url and that's it, it's convenient and easy.
从 github
下载 zip另一种选择是从同一存储库下载:
Clone > Download Zip
第三方软件
您还可以将其用于:
IDE 支持 Git 以及您可以尝试下载存储库的位置。
GUI 客户端:GIT download/gui/