关于#github#的问题,如何解决?

您好 我在github上找到了您的有关行人检测的代码 运行时发生一个问题

img


请问如何解决

你的configs文件夹下好像没有yolov3.yaml文件?

不知道你这个问题是否已经解决, 如果还没有解决的话:
  • 你可以参考下这个问题的回答, 看看是否对你有帮助, 链接: https://ask.csdn.net/questions/334195
  • 我还给你找了一篇非常好的博客,你可以看看是否有帮助,链接:解决打开github网页慢及每次上传github都要输入密码问题
  • 除此之外, 这篇博客: 解决github图片不显示的问题,亲测有效中的 关于Github上头像和文档中各类图片不显示加载不出来的问题解决办法 部分也许能够解决你的问题, 你可以仔细阅读以下内容或者直接跳转源博客中阅读:

    解决办法一

    修改本地的hosts文件
    打开路径 C:\Windows\System32\drivers\etc\hosts

    可用记事本或者VSCode或者其他编译器(没试过,vscode亲测有效)在文件末尾添加:

    # GitHub Start
    192.30.253.112    Build software better, together
    192.30.253.119     gist.github.com
    151.101.184.133     assets-cdn.github.com
    151.101.184.133     raw.githubusercontent.com
    151.101.184.133     gist.githubusercontent.com
    151.101.184.133     cloud.githubusercontent.com
    151.101.184.133     camo.githubusercontent.com
    151.101.184.133     avatars0.githubusercontent.com
    151.101.184.133     avatars1.githubusercontent.com
    151.101.184.133     avatars2.githubusercontent.com
    151.101.184.133     avatars3.githubusercontent.com
    151.101.184.133    avatars4.githubusercontent.com
    151.101.184.133     avatars5.githubusercontent.com
    151.101.184.133     avatars6.githubusercontent.com
    151.101.184.133     avatars7.githubusercontent.com
    151.101.184.133     avatars8.githubusercontent.com
    # GitHub End
    

    问题得到解决。

    解决办法二
    如果上面失效了 替换成以下内容:

    # GitHub Start
    
    
    199.232.28.133    user-images.githubusercontent.com
    
    151.101.184.133    assets-cdn.github.com
    
    151.101.184.133    raw.githubusercontent.com
    
    151.101.184.133    gist.githubusercontent.com
    
    151.101.184.133    cloud.githubusercontent.com
    
    151.101.184.133    camo.githubusercontent.com
    
    151.101.184.133    avatars0.githubusercontent.com
    
    199.232.68.133     avatars0.githubusercontent.com
    
    199.232.28.133     avatars1.githubusercontent.com
    
    151.101.184.133    avatars1.githubusercontent.com
    
    151.101.184.133    avatars2.githubusercontent.com
    
    199.232.28.133     avatars2.githubusercontent.com
    
    151.101.184.133    avatars3.githubusercontent.com
    
    199.232.68.133     avatars3.githubusercontent.com
    
    151.101.184.133    avatars4.githubusercontent.com
    
    199.232.68.133     avatars4.githubusercontent.com
    
    151.101.184.133    avatars5.githubusercontent.com
    
    199.232.68.133     avatars5.githubusercontent.com
    
    151.101.184.133    avatars6.githubusercontent.com
    
    199.232.68.133     avatars6.githubusercontent.com
    
    151.101.184.133    avatars7.githubusercontent.com
    
    199.232.68.133     avatars7.githubusercontent.com
    
    151.101.184.133    avatars8.githubusercontent.com
    
    199.232.68.133     avatars8.githubusercontent.com
    
     
    
    # GitHub End
    

    昨天配置完,解决了问题,今天再登,发现又被墙了,遂想知道问题出在哪,先说解决办法:

    1. 浏览器打开 https://www.ip138.com/ 网址输入 上图中 红框地址 raw.githubusercontent.com进行查询:
      在这里插入图片描述

    2. Windows系统:打开路径 C:\Windows\System32\drivers\etc\hosts,替换raw.githubusercontent.com域名前面的ip地址为查询到的任意一个ip,保存后 再次打开 github,应该就有了,亲测有效,如果哪天再出现无法加载,重复以上步骤,替换最新IP地址。

    无法加载原因

    我看到网上很多人说是DNS投毒所致,勤换IP吧,我别无他法,如果谁有更好的办法可以留言。

    修改IPv4里DNS地址为谷歌的8.8.8.8/8.8.4.4那个方法我试了,没效果,可能我改完没删掉
    hosts里的第一行和第二行?? 先这样吧 出了问题 以后再尝试

  • 您还可以看一下 颜群老师的Git/GitHub实战视频课程中的 分支合并与冲突小节, 巩固相关知识点
  • 以下回答来自chatgpt:

    很抱歉,参考资料中没有与行人检测相关的内容,无法提供相关的解决方案。如果您能提供更具体的问题,我会尽力给出解决方案。


如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^