빌드해보려다가 라즈베리 4에서 실패인지 성공인지 미묘하게 완료
| $ git clone https://github.com/tensorflow/tensorflow.git  $ cd tensorflow/ $ git checkout v2.7.0-rc0 $ mkdir ../tflite_build $ cd ../tflite_build $ cmake ../tensorflow/tensorflow/lite/ -DTFLITE_ENABLE_GPU=ON  | 
[링크 : https://www.tensorflow.org/lite/guide/build_cmake]
문제는 rpi 3용 videocore IV는 openCL 사용자 버전이 있는데
rpi 4용 videocore VI는 아직 안나와서 쓸수가 없을 듯 ㅠㅠ
| /home/pi/work/tflite_build/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)  #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")  | 
[링크 : https://github.com/doe300/VC4CL/issues/86]
[링크 : https://github.com/Idein/py-videocore6]
[링크 : https://forums.raspberrypi.com/viewtopic.php?t=312646]
'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글
| bazel cross compile (0) | 2022.01.27 | 
|---|---|
| bazel clean (0) | 2021.10.19 | 
| tf release 2.7.0-rc (0) | 2021.10.12 | 
| tflite delegate (0) | 2021.10.11 | 
| tflite gpu openCL support build fail (0) | 2021.08.31 | 
