Рабочая область Tensorflow не настроена для сборки android - PullRequest
0 голосов
/ 19 февраля 2020

Я пытаюсь установить tenorflow lite локально. Я выполняю действия, упомянутые здесь: https://www.tensorflow.org/lite/guide/android
Когда я запускаю скрипт ./configure в каталоге root, должна быть опция для интерактивной настройки ./workspace для android сборок , Но у меня нет такой опции, и я сталкиваюсь с множеством ошибок во время сборки. Есть ли способ, я могу знать переменные, которые должны быть установлены? Или какой-нибудь способ это исправить?

C:\Users\nikhil\tensorflow>.\configure                                                                                                                                                  
WARNING: Running Bazel server needs to be killed, because the startup options are different.                                                                                               
You have bazel 2.0.0 installed.                                                                                                                                                            
Please specify the location of python. [Default is C:\Users\nikhil\AppData\Local\Programs\Python\Python37\python.exe]:                                                                                                                                                                                                                                                                                                                                                                                                                                                          
 Found possible Python library paths: C:\Users\nikhil\AppData\Local\Programs\Python\Python37\lib\site-packages                                                                                                                
 Please input the desired Python library path to use.  Default is [C:\Users\nikhil\AppData\Local\Programs\Python\Python37\lib\site-packages]                                                                                                                                                                                                                                          
 Do you wish to build TensorFlow with XLA JIT support? [y/N]:                                                                                                                               
 No XLA JIT support will be enabled for TensorFlow.                                                                                                                                                                                                                                                                                                                                    
 Do you wish to build TensorFlow with ROCm support? [y/N]:                                                                                                                                  
 No ROCm support will be enabled for TensorFlow.                                                                                                                                                                                                                                                                                                                                       
 Do you wish to build TensorFlow with CUDA support? [y/N]:                                                                                                                                  
 No CUDA support will be enabled for TensorFlow.                                                                                                                                                                                                                                                                                                                                       
 Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is /arch:AVX]:                                                                                                                                                                                                                                                                                                                                                                                                                                                
 Would you like to override eigen strong inline for some C++ compilation to reduce the compilation time? [Y/n]:                                                                             
 Eigen strong inline overridden.                                                                                                                                                                                                                                                                                                                                                       
 Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command. See .bazelrc for more details.                                                      
 --config=mkl            # Build with MKL support.                                                                                                                                          
 --config=monolithic     # Config for mostly static monolithic build.                                                                                                                       
 --config=ngraph         # Build with Intel nGraph support.                                                                                                                                 
 --config=numa           # Build with NUMA support.                                                                                                                                         
 --config=dynamic_kernels        # (Experimental) Build kernels into separate shared objects.                                                                                               
 --config=v2             # Build TensorFlow 2.x instead of 1.x.                                                                                                                     
 Preconfigured Bazel build configs to DISABLE default on features:                                                                                                                                  
 --config=noaws          # Disable AWS S3 filesystem support.                                                                                                                               
 --config=nogcp          # Disable GCP support.                                                                                                                                            
 --config=nohdfs         # Disable HDFS support.                                                                                                                                            
 --config=nonccl         # Disable NVIDIA NCCL support.                                                                                                                             
 Configuration finished 
...