小编Jen*_*nny的帖子

CondaError:尝试使用 conda 下载 cudnn 时,下载的字节与内容长度不匹配

这是执行命令后我在 anaconda 提示符中遇到的错误:conda install cudnn==7.6.5 错误:

CondaError: Downloaded bytes did not match Content-Length
  url: https://repo.anaconda.com/pkgs/main/win-64/cudnn-7.6.5-cuda10.1_0.conda
  target_path: C:\Users\User\anaconda3\pkgs\cudnn-7.6.5-cuda10.1_0.conda
  Content-Length: 187807360
  downloaded bytes: 165935561
Run Code Online (Sandbox Code Playgroud)

请注意,我不是将其安装在新环境中,而是安装在基础环境中。我将不胜感激任何帮助!!

python anaconda

7
推荐指数
1
解决办法
2万
查看次数

尝试编译协议文件时出错:文件未找到或有错误

我正在尝试使用以下命令编译 protoc 文件:

protoc/bin/protoc models/research/object_detection/protos/*.proto --python_out=.
Run Code Online (Sandbox Code Playgroud)

但我在 cmd 上得到这个输出

object_detection/protos/flexible_grid_anchor_generator.proto: File not found.
object_detection/protos/grid_anchor_generator.proto: File not found.
object_detection/protos/multiscale_anchor_generator.proto: File not found.
object_detection/protos/ssd_anchor_generator.proto: File not found.
models/research/object_detection/protos/anchor_generator.proto:5:1: Import "object_detection/protos/flexible_grid_anchor_generator.proto" was not found or had errors.
models/research/object_detection/protos/anchor_generator.proto:6:1: Import "object_detection/protos/grid_anchor_generator.proto" was not found or had errors.
models/research/object_detection/protos/anchor_generator.proto:7:1: Import "object_detection/protos/multiscale_anchor_generator.proto" was not found or had errors.
models/research/object_detection/protos/anchor_generator.proto:8:1: Import "object_detection/protos/ssd_anchor_generator.proto" was not found or had errors.
models/research/object_detection/protos/anchor_generator.proto:14:5: "GridAnchorGenerator" is not defined.
models/research/object_detection/protos/anchor_generator.proto:15:5: "SsdAnchorGenerator" is not defined.
models/research/object_detection/protos/anchor_generator.proto:16:5: "MultiscaleAnchorGenerator" is not defined.
models/research/object_detection/protos/anchor_generator.proto:17:5: "FlexibleGridAnchorGenerator" is not …
Run Code Online (Sandbox Code Playgroud)

python object-detection protoc tensorflow

4
推荐指数
1
解决办法
2384
查看次数

标签 统计

python ×2

anaconda ×1

object-detection ×1

protoc ×1

tensorflow ×1