0% found this document useful (0 votes)
53 views

Tutorial Instalacion Digits

The document summarizes errors encountered while trying to install Caffe and solutions attempted to resolve those errors. It describes issues with pip permissions, missing packages like Protobuf and setuptools, and errors from CMake. Solutions included installing missing packages, exporting environment variables, and adding compiler flags. Another manual and the DIGITS installation page were also referenced.

Uploaded by

Hernan Leon
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Tutorial Instalacion Digits

The document summarizes errors encountered while trying to install Caffe and solutions attempted to resolve those errors. It describes issues with pip permissions, missing packages like Protobuf and setuptools, and errors from CMake. Solutions included installing missing packages, exporting environment variables, and adding compiler flags. Another manual and the DIGITS installation page were also referenced.

Uploaded by

Hernan Leon
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

No funciona sudo pip install -r $CAFFE_ROOT/python/requirements.

txt

devuelve este error


The directory '/home/gabriel/.cache/pip/http' or its parent directory is not owned by the current user
and the cache has been disabled. Please check the permissions and owner of that directory. If
executing pip with sudo, you may want sudo's -H flag.
The directory '/home/gabriel/.cache/pip' or its parent directory is not owned by the current user and
caching wheels has been disabled. check the permissions and owner of that directory. If executing
pip with sudo, you may want sudo's -H flag.
Could not open requirements file: [Errno 2] No existe el archivo o el directorio:
'/python/requirements.txt'
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Solucion: Esto fue debido a que no se exporto de manera correcta la variable de entorno
CAFFE_ROOT

Otro error
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named setuptools

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xD_Bet/leveldb/

Solucion: Ejecutando la siguiente linea


sudo apt-get install python-setuptools

Dio error al ejecutar esta linea cmake ..

-- Boost version: 1.58.0


-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- chrono
-- date_time
-- atomic
-- Found gflags (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libgflags.so)
-- Found glog (include: /usr/include, library: /usr/lib/x86_64-linux-gnu/libglog.so)
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
(message):
Could NOT find Protobuf (missing: PROTOBUF_LIBRARY PROTOBUF_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388
(_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindProtobuf.cmake:308
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/ProtoBuf.cmake:4 (find_package)
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:58 (include)

-- Configuring incomplete, errors occurred!


See also "/home/gabriel/caffe/build/CMakeFiles/CMakeOutput.log".
See also "/home/gabriel/caffe/build/CmakeFiles/CmakeError.log".

Solucion: correr la siguiente linea


sudo apt-get install libprotobuf-dev protobuf-compiler

Error --------
mempcy in this scope
solucion
http://caffe.berkeleyvision.org/installation.html#compilation
y esto
cmake ... -DCUDA_NVCC_FLAGS="-D_FORCE_INLINES" ..

Otro manual para instalar caffe

https://gist.github.com/nikitametha/c54e1abecff7ab53896270509da80215
http://caffe.berkeleyvision.org/install_apt.html

ahora instalar digits


https://github.com/NVIDIA/DIGITS/blob/digits-5.0/docs/BuildDigits.md#starting-the-server

You might also like