couldn't open file: data/coco.names

简介: 在ubuntu下配置yolo(v2)的时候,编译了源码后,尝试运行demo:./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg结果报错提示:couldn't open file: data/coco.namesgoogle上找不到同样的问题。

在ubuntu下配置yolo(v2)的时候,编译了源码后,尝试运行demo:

./darknet detect cfg/yolo.cfg yolo.weights data/dog.jpg

结果报错提示:

couldn't open file: data/coco.names

google上找不到同样的问题。那就是我的使用方式有问题了。

因为ubuntu上临时无法上网,从windows上用git clone下载的darknet的源码。然后vim查看了下源码文件,果然,都是dos格式的。

果断弃坑。从windows系统上,到github的darknet上,下载zip包,然后拷贝到ubuntu下安装。问题解决。

目录
相关文章
|
7月前
Tp5 SplFileObject::__construct(/tmp/phpvuOdFd): failed to open stream: No such file or director解决方法
Tp5 SplFileObject::__construct(/tmp/phpvuOdFd): failed to open stream: No such file or director解决方法
|
1月前
|
存储
tracker_query_storage fail, error no: 28, error info: No space left on device
tracker_query_storage fail, error no: 28, error info: No space left on device
17 0
|
Docker Windows 容器
在Docker中的Neo4j导入CSV文件报错:Couldn‘t load the external resource at: file:/...解决办法
在Docker中的Neo4j导入CSV文件报错:Couldn‘t load the external resource at: file:/...解决办法
463 0
在Docker中的Neo4j导入CSV文件报错:Couldn‘t load the external resource at: file:/...解决办法
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
Could not initialize English chunker/Could not load file from classpath: ‘/en-token.bin‘
85 0
【MOS】Parameter FILESIZE - Multiple Export Files (文档 ID 290810.1)
                                                     ...
922 0
Data Breach Report
https://www.internetsociety.org/globalinternetreport/2016/data-and-trends/?gclid=CNy9l7mG7NACFY...
690 0
TFS部署:create_block allocate space error. ret: -1, error: 28, error desc: No space left on device
在CentOS 6.5 下安装完TFS部署的过程中,执行“./scripts/stfs format 1”命令时,出现错误: ERROR create_block (blockfile_manager.
842 0
TFS部署:ERROR create_fs_dir (blockfile_manager.cpp:1191) make extend dir error. ret: -1, error: 17
在CentOS 6.5 下安装完TFS部署的过程中,执行“./scripts/stfs format 1”命令时,出现错误:ERROR create_fs_dir (blockfile_manager.
811 0