python - KeyError : "Couldn' t find enum caffe. EmitConstraint.EmitType"

标签 python c++ deep-learning computer-vision caffe

从源代码安装 caffe 后,在运行示例测试项目时我遇到了上述问题。 导致此错误的原因可能是什么。

最佳答案

您的 caffe 版本和用于训练/部署您尝试使用的模型的版本似乎不同。更具体地说,您尝试使用的模型似乎在其 prototxt 中有一些 "EmitType" 参数。此参数未在 master 中定义 caffe.proto .

请确保您使用的 caffe 分支与您尝试运行的模型所要求的相同。

关于python - KeyError : "Couldn' t find enum caffe. EmitConstraint.EmitType",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50618924/

相关文章:

c++ - 命名结构与未命名结构的类型别名

python - 对 keras 中两个模型的输出进行矩阵乘积

python - Tensorflow 对象检测 API : how to create tfrecords with images not containing any labels (hard negatives)?

java - deeplearning4j中datavec示例的gradle构建文件

python - Python os.pathsep 的 Rust 等价物是什么?

Python-根据先前的函数退出状态调用函数的最佳方式?

python - 如何将 Pandas 中的非零条目转换为带列表的字典?

c++ - c++中使用c头文件时是否需要在struct实例前放置 "struct"?

python - 类型错误 : forward() missing 1 required positional argument: 'hidden'

c++ - 不同的 OpenGL 行为取决于所使用的 Maya 视口(viewport)