小编use*_*270的帖子

TensorFlow - 对象检测模块,尝试使用protoc时出现错误

有问题protoc,该行在Windows中不起作用.

我明白了errors:

用这条线

protoc --proto_path=./object_detection/protos --python_out=c:\testmomo ./object_detection/protos/anchor_generator.proto
Run Code Online (Sandbox Code Playgroud)

我收到这个错误

object_detection/protos/grid_anchor_generator.proto: File not found.
object_detection/protos/ssd_anchor_generator.proto: File not found.
anchor_generator.proto: Import "object_detection/protos/grid_anchor_generator.proto" was not found or had errors.
anchor_generator.proto: Import "object_detection/protos/ssd_anchor_generator.proto" was not found or had errors.
anchor_generator.proto:12:5: "GridAnchorGenerator" is not defined.
anchor_generator.proto:13:5: "SsdAnchorGenerator" is not defined.
Run Code Online (Sandbox Code Playgroud)

问题是什么??

python object-detection deep-learning protoc tensorflow

4
推荐指数
3
解决办法
2110
查看次数

Cuda线程和循环

我有一些我不了解CUDA的东西.我知道有'虚拟'变量称为线程.

编程内核时,线程变量自动运行,内核为每个线程反复运行.(到目前为止正确吗?)

现在,如果我编程这样的事情:

for (int i = 0 ; i<100; i++){
....
}
Run Code Online (Sandbox Code Playgroud)

每个线程都会一遍又一遍地运行吗?或者只是一次?

cuda

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