liuliu / ccv

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
http://libccv.org
Other
7.08k stars 1.72k forks source link

Zip file can't download sqlite db #142

Closed lababidi closed 8 years ago

lababidi commented 9 years ago

Download .zip file from libccv.org webpage, ran ./configure and then make and got the following error:

fatal: Not a git repository (or any of the parent directories): .git ../samples/download-vgg-d-model.sh: 3: cd: can't cd to /samples make: *** [../samples/image-net-2012-vgg-d.sqlite3] Error 2

liuliu commented 9 years ago

Thanks. Yeah, that case is not tested, I assumed it has a git repo somewhere so that I can find the download script.

mbirkhez commented 8 years ago

Hi, I get the same error. Does anybody know how to solve it?

liuliu commented 8 years ago

Try to git clone the repo, or simply do make afterwards. That error is not critical (basically you didn't download the vgg-d model).

morenoh149 commented 8 years ago

it's from executing https://github.com/liuliu/ccv/blob/stable/samples/download-vgg-d-model.sh#L3

the zip download seems to lack the .git version control dir so when git rev-parse --show-toplevel gets run the system throws an error