使用Git LFS从github下载失败
我尝试使用git clone从存储库下载。当我使用使用Git LFS从github下载失败,git,github,git-lfs,Git,Github,Git Lfs,我尝试使用git clone从存储库下载。当我使用 git clone https://github.com/eshijia/knowledge-graph-keras.git 我得到以下错误: Error downloading object: data/freebase15k/freebase_15k-id2entity.pkl (d40c058): Smudge err
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\logs\20180619T151710.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文件
有什么解决办法吗
注:我的git版本是2.17.1.windows.2
联系
解决方案可能是由不良连接引起的
Git-LFS安装错误
驱动器上的LFS安装有问题。我能解决这个问题的唯一方法是:
•删除硬盘上出现故障的回购协议。卸载git lfs的所有实例
•为windows安装git lfs
•在SourceTree的repo下拉列表中验证git lfs是否已初始化
•打开Git shell,导航到刚刚克隆的本地回购协议
•git lfs安装类型
•git pull类型
•git lfs pull型
如果找不到即时解决方案,则可选择其他方案
按部分下载
La web允许您下载项目所需的文件夹,您只需指明url即可,这既方便又简单
从github以zip格式下载
另一种选择是从同一存储库下载:
Clone > Download Zip
第三方软件
您还可以将其用于:
- 支持Git的IDE,您可以在其中尝试下载存储库
- GUI客户端:
git lfs过滤过程吗
?我下载正确了你是通过git clone下载的吗?git clone克隆到“知识图keras”。。。远程:计数对象:134,完成。远程:压缩对象:100%(71/71),完成。。。。过滤内容:100%(16/16),272.59 MiB | 350.00 KiB/s,已完成。它必须来自您的凭据