Code Monkey home page Code Monkey logo

yunho0130 / tensorflow-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tensorflow/tensorflow

58.0 6.0 49.0 641.79 MB

O'Reilly <TinyML: 텐서플로우 라이트 Tensorflow Lite> 소스코드 저장소

Home Page: https://www.tensorflow.org/lite/microcontrollers

License: Apache License 2.0

Python 25.91% C++ 56.18% C 0.61% Java 0.67% Shell 0.47% Jupyter Notebook 11.18% CMake 0.01% Makefile 0.05% Objective-C 0.08% Objective-C++ 0.22% Go 1.27% Batchfile 0.04% LLVM 0.01% Ruby 0.01% Perl 0.01% PHP 0.01% HTML 3.19% Smarty 0.02% Dockerfile 0.08% C# 0.01%
tflite tensorflow tensorflow-lite microcontroller

tensorflow-lite's Introduction

TinyML: Tensorflow lite for microcontroller

Yes24

TinyML 번역서의 한국 독자들을 위한 한글 소스코드 저장소를 개설하게 되었습니다. 책에서도 명시하고 있지만, 텐서플로우 프로젝트는 업데이트가 활발히 진행되고 있는 프로젝트입니다. 가장 최신 코드는 아래의 영어 원문 코드를 참조하시기 바랍니다.

실습소스코드

Google Colab 통한 실습

아래의 Jupyter Notebook 파일은 Google Colab과 연결되도록 만들어두었습니다. 이를 통해 책의 주요 딥러닝 모델 학습 코드를 간편하게 실행해 볼 수 있습니다.

마이크로컨트롤러 기기를 통한 실습

기기에서 동작하게 될 소스코드는 본 소스코드 저장소를 직접 다운로드 받은 후 압축을 푼 뒤 아두이노와 같은 마이크로컨트롤러 기기에 업로드 하여 사용할 수 있습니다. 자세한 실습 방법은 책 혹은 아래의 공식개발문서를 참고하세요.

마이크로컨트롤러용 텐서플로우 라이트 (TensorFlow Lite for Microcontrollers)

마이크로 컨트롤러용 텐서플로우 라이트 (TensorFlow Lite for Microcontrollers)는 아주 작은 메모리(KB)를 사용하는 기기에서 머신러닝모델을 실행하도록 텐서플로우 라이트(TensorFlow Lite)를 이식한 프레임워크입니다.

자주묻는질문 FAQ

Project Showcase

아래의 프로젝트들은 Tensorflow Lite를 활용하여 진행되었습니다. Tensorflow Lite를 활용한 프로젝트라면 자유롭게 Pull Request를 보내주시면 검토 후 추가하도록 하겠습니다.

Watch Out - 딥러닝 기반 음성인식 알림 서비스 (모바일 & 애플워치)

Watch Out은 Tensorflow Lite 모델을 이용해 위험한 소리를 대신 인식 해주는 iOS & WatchOS 프로젝트입니다.

./images/watchout.gif

청각장애인이 사용할 경우를 생각하여 모델 커스텀 트레이닝을 통해 이름을 인식할 수 있도록 트레이닝 가이드를 추가하였습니다. 전반적인 아키텍처는 다음과 같습니다.

./images/systemArchitecture.png

Watch Ya - 딥러닝 기반 비전인식 디바이스 (라즈베리파이 & Coral)

./images/watchya.gif

Watch Ya는 전동킥보드 탑승자의 헬멧 착용 여부를 탐지하고, 착용하지 않은 경우 경고 알람을 내보내는 Tiny ML 디바이스를 만드는 프로젝트입니다.

./images/systemArchitecture_watchya.png

Collaborators

yunho0130(맹윤호), harheem(김하림), prograsshopper(서미지), 0ys(공예슬), yoonseok312(양윤석), dlqh406(이보성), Karmantez(김창윤), kyunghwanleethebest(이경환), new-w(최예진), su-minn(전수민), ProtossDragoon(이장후), yammayamm(김도연), ufo8945(송보영), pmcsh04(조승현), sanghunkang(강상훈)

인용 Citation

본 레파지토리나 <초소형 머신러닝 TinyML>의 내용을 인용하실 때에는 아래의 인용정보를 사용하시면 편리합니다.

@book{TinyML-Machine-Learning-with-TensorFlow-Lite,
  title={초소형 머신러닝 TinyML: 모델 최적화부터 에지 컴퓨팅까지 작고 빠른 딥러닝을 위한 텐서플로 라이트},
  author={피트 워든, 대니얼 시투나야케, 맹윤호(역), 임지순(역)},
  isbn={9791162243411},
  url={https://www.hanbit.co.kr/media/books/book_view.html?p_code=B3963656224},
  year={2020},
  publisher={한빛미디어}
}

tensorflow-lite's People

Contributors

aaroey avatar alextp avatar allenlavoie avatar annarev avatar antiagainst avatar asimshankar avatar benoitsteiner avatar caisq avatar cheshire avatar ebrevdo avatar ezhulenev avatar feihugis avatar gunan avatar hawkinsp avatar ilblackdragon avatar jaingaurav avatar jdduke avatar jpienaar avatar jsimsa avatar markdaoust avatar martinwicke avatar mrry avatar petewarden avatar qlzh727 avatar river707 avatar rohan100jain avatar skye avatar tensorflower-gardener avatar yifeif avatar yongtang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tensorflow-lite's Issues

TinyML Book 페이지 186을 진행하다가 Error 발생함

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: feature_provider_mock_test 빌드시 'Undefined symbols' error 발생
  • 재현과정: 아래 capture 참조
  • 재현환경: OSX Catalina 10.15.7, Makefile Version : 4.3
  • 에러로그
    log

스크린샷 2020-10-11 오후 2 51 35

p130등 make할때 window에서의 오류

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: make를 할 때 이 레포에서 받은 파일과 최신 레포에서 둘다 해보았는데 저런 로그가뜨네요..
  • 재현과정: make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
  • 재현환경: 윈도우 10, GNU make 4.3
  • 에러로그
log
//최신 tensor flow repository 버젼 했을시

process_begin: CreateProcess(NULL, uname -m, ...) failed.
tensorflow/lite/micro/tools/make/Makefile:32: pipe: No error
-m은(는) 예상되지 않았습니다.
FIND: 매개 변수 형식이 틀립니다.
FIND: 매개 변수 형식이 틀립니다.
명령 구문이 올바르지 않습니다.
process_begin: CreateProcess(NULL, bash C:\Users\tsr98\tensorflow\tensorflow\lite\micro\tools\make\flatbuffers_download.sh tensorflow/lite/micro/tools/make/downloads, ...) failed.
tensorflow/lite/micro/tools/make/Makefile:392: pipe: Bad file descriptor
tensorflow/lite/micro/tools/make/Makefile:394: *** Something went wrong with the flatbuffers download: .  Stop.

//여기 있는 repository로 했을 시

process_begin: CreateProcess(NULL, uname -m, ...) failed.
tensorflow/lite/micro/tools/make/Makefile:25: pipe: No error
-m은(는) 예상되지 않았습니다.
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://github.com/google/gemmlowp/archive/719139ce755a0f31cbf1c37f7f98adcc7fc9f425.zip" "7e8191b24853d75de2af87622ad293ba" tensorflow/lite/micro/tools/make/downloads/gemmlowp
process_begin: CreateProcess(NULL, bash C:\Users\tsr98\tensorflow-lite\tensorflow\lite\micro\tools\make\download_and_extract.sh https://github.com/google/gemmlowp/archive/719139ce755a0f31cbf1c37f7f98adcc7fc9f425.zip 7e8191b24853d75de2af87622ad293ba tensorflow/lite/micro/tools/make/downloads/gemmlowp, ...) failed.
make (e=2): 지정된 파일을 찾을 수 없습니다.
make: *** [tensorflow/lite/micro/tools/make/Makefile:261: tensorflow/lite/micro/tools/make/downloads/gemmlowp] Error 2

알려주시면 감사하겠습니다 윈도우라 검색해야할게 많네요 ㅠㅠ
### Tensorflow Github
- https://github.com/tensorflow/tensorflow

### Stack Overflow
- https://stackoverflow.com/questions/tagged/tensorflow

[8/5] Weekly Conference Call Agenda

Agenda

  • 할 일 (Action item)

    • 각 팀 별 필요한 라즈베리 파이 센서, 부품(마이크로SD카드 등)
    • 첫 PR 날리기 (Contributor 이름 넣기)
    • 주석 번역할 1명
    • 노션 프로필 채우기
  • 확인사항

    • 모빌리티팀, 모바일팀 리더 및 주제 확정
    • 라즈베리파이 못받은 사람
    • 토요일 회의실 변경
  • 안내사항

    • 노션 Mini 인트라넷
      • 사진, Github 계정, 향후 목표, 연락처 공유 등 프로필 채우기
      • 국제관세기구 사례 설명해주기
    • 각 팀 별 비용 집행
    • 1주차 강의
      • Github Project & Issue 사용법 (칸반보드)
  • 논의사항

    • 미니 OKR 도입 => 고려해본다.
      • 사수/부사수 도입 => 각 분야별 마스터 제도
    • 각 팀 주제 Scope 적절성 판단
    • 모바일 팀 문서 작업 담당 필요

[8/19] Weekly Conference Call Agenda

  • 할 일 (Action item)
    • Invitation 확인
    • 중간보고서 작성날짜 정하기 => 23(일) PM10:00까지
  • 확인사항 (Follow up Action item)
    • 라즈베리파이 & 센서 수령 확인
    • 프로젝트 진행상황 칸반보드 확인: Sprint 1단계 종료
      • 모바일 팀
      • 모빌리티 팀
    • 첫 PR 진행상황 확인 - 상훈, 민우
  • 안내사항 (Guide)
    • 토요일 회의 원격 참여
    • 3주차 강의: STT, overfitting and underfitting. f1-measure. deep learning 기초
  • 논의사항 (Discussion)

[8/26] Weekly Conference Call Agenda

  • 할 일 (Action item)
  • 확인사항 (Follow up Action item)
    • 중간보고서 (일) PM10:00까지 제출 확인
    • 프로젝트 진행상황 칸반보드 확인
    • 첫 PR 진행상황 확인 - 민우
    • OKR 8/28 상담 가능시간 올리기
  • 안내사항 (Guide)
    • 프로젝트 중간보고서 피드백
    • 프로젝트 타임라인 재점검
    • 3주차 강의: Few shot learning, custom training, f1-measure. deep learning 기초, ci/cd 파이프라인, Test 종류, Google Python Style Guide, 푸리에 변환, 이슈에 라벨추가 방법
    • 익명 중간 피드백
    • TinyML 수령 주소
  • 논의사항 (Discussion)

f746 discovery 보드에서 예제 실행시 오류

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: STM32F746 Discovery 보드에서 hello world 예제 실패
  • 재현과정: 이 레포를 클론 한 뒤, make만 돌린 상황인데 마지막 줄 같은 에러와 함께 제대로 완료되지 않습니다.
  • 재현환경: VMware를 통한 Ubuntu 18.04, mbed cli 설치, python 2.7.17, https://github.com/yunho0130/tensorflow-lite.git 클론해서 실행
  • 에러로그
log
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://github.com/google/gemmlowp/archive/719139ce755a0f31cbf1c37f7f98adcc7fc9f425.zip" "7e8191b24853d75de2af87622ad293ba" tensorflow/lite/micro/tools/make/downloads/gemmlowp  
downloading https://github.com/google/gemmlowp/archive/719139ce755a0f31cbf1c37f7f98adcc7fc9f425.zip
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v1.11.0.tar.gz" "02c64880acb89dbd57eebacfd67200d8" tensorflow/lite/micro/tools/make/downloads/flatbuffers  
downloading https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/flatbuffers/archive/v1.11.0.tar.gz
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://github.com/ARM-software/CMSIS_5/archive/b2937134bd2047bd569c4408391ae20d7677d35c.zip" "04cb3a2cb4834284767a01e8f1c6f834" tensorflow/lite/micro/tools/make/downloads/cmsis  
downloading https://github.com/ARM-software/CMSIS_5/archive/b2937134bd2047bd569c4408391ae20d7677d35c.zip
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2" "299ebd3f1c2c90930d28ab82e5d8d6c0" tensorflow/lite/micro/tools/make/downloads/gcc_embedded  
downloading https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_int8_grayscale_2020_01_13.zip" "8a7d2c70325f53136faea6dde517b8cc" tensorflow/lite/micro/tools/make/downloads/person_model_int8  
downloading https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_int8_grayscale_2020_01_13.zip
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://github.com/mborgerding/kissfft/archive/v130.zip" "438ba1fef5783cc5f5f201395cc477ca" tensorflow/lite/micro/tools/make/downloads/kissfft patch_kissfft 
downloading https://github.com/mborgerding/kissfft/archive/v130.zip
Finished patching kissfft
tensorflow/lite/micro/tools/make/download_and_extract.sh "https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_grayscale_2019_11_21.zip" "fe2934bd0788f1dcc7af3f0a954542ab" tensorflow/lite/micro/tools/make/downloads/person_model_grayscale  
downloading https://storage.googleapis.com/download.tensorflow.org/data/tf_lite_micro_person_data_grayscale_2019_11_21.zip
make: *** No rule to make target 'tensorflow/lite/micro/tools/make/gen/mbed_cortex-**m4/prj/hello_world/mbed/tensorflow/lite/micro/tools/make/downloads/CMSIS_ext/arm_cmplx_mag_squared_q10p6.c', needed by 'generate_hello_world_mbed_project'.  Stop.**

감사합니다 좋은 하루 되세요

Tensorflow Github

Stack Overflow

[9/8] Weekly Conference Call Agenda #48

안내사항 (Guide)

  • 9/14일 이전의 컨트리뷰션은 평가 범위에 미포함
    • PPT, 남은 비용 처리, Slide => 26일(토)까지
  • TFlite 기여 & 팀 구성

확인사항 (Follow up Action item)

  • 중간 문서 작업 (회의록, 영수증 등 챙기기) => 영수증 첨부 완료
  • 각자 프로젝트 Repository 완성 => PR 날리기 (Project Show Case)

할 일 (Action item)

  • OKR 발표
  • 다음주 수요일까지 해야할 일
    • 9/14 TFlite 기여 & 각자 담당 파트 읽기 => 코드 돌려보고 => 이슈 리포팅 => 해결 => 블로그 포스팅 or 슬라이드 정리
    • 9/26 Knowledge Transfer Session PPT 만들고 발표 <= 데이터야놀자 발표예정, Hopefully 본선 발표용 (다음주 콜에서 논의)
    • 9/26 이전 회식 일정
    • 9/26 영상 제작
    • 보고서 작업

논의사항 (Discussion)

  • 9/26 발표자 선정 (Due 9/13) - 윤석님, 수민님
  • 보고서 작업 리더 선정 - 수민님, 보성님
  • 크런치모드 최종 점검 회의

[8/12] Weekly Conference Call Agenda

Agenda

  • 할 일 (Action item)

    • 주석 번역할 1명
    • 미니 OKR 일정 확인
      • 면담 후 각 분야별 마스터 선정
    • 애플워치 모바일 팀 전달 (+충전기)
    • 센서 및 부품 구매 및 결제 진행
    • Collab Pro 안내
    • Noun Project 안내
  • 확인사항 (Follow up Action item)

    • 노션 프로필 채웠나 확인
    • 라즈베리파이 못받은 사람
    • 각 팀 별 비용 집행 누군지 확인
    • 프로젝트 진행상황 확인
    • 칸반보드 확인
    • 첫 PR 진행상황 확인: greentea1031(이보성) 깃허브 계정 확인
    • Project Invitation 확인 & Collaborator 스크린샷 독려
  • 안내사항 (Guide)

    • 2주차 강의: Colab, GPGPU, Github Profile, Code Review, Git Flow
    • 멘토 없이 회의실 어떻게 사용하는지 확인
    • 프로젝트 결과물 공개 범위 및 참여자 표기 방법
  • 논의사항 (Discussion)

    • 모두가 모여서 중간보고서 마감치는 날 설정 (크런치모드)

Windows 에서 p119 make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test수행중 에러 tensorflow/lite/micro/tools/make/download_and_extract.sh: line 140: unzip: command not found

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: page 119의 make error
  • 재현과정: make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
  • 재현환경: window 10
  • 에러로그
log

Tensorflow Github

Stack Overflow

cstdarg: no such file or directory error

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: tensorflow 파일에 있는 output_handler.h 헤더파일을 컴파일 하는 도중 error_reporter.h 헤더파일에 있는 cstdarg 헤더 파일이 존재하지 않는다는 오류가 발생하여 이를 해결하기 위해 이슈에 올려봅니다.
  • 재현과정: #ifndef TENSORFLOW_LITE_CORE_API_ERROR_REPORTER_H_
    #define TENSORFLOW_LITE_CORE_API_ERROR_REPORTER_H_

#include

namespace tflite {

class ErrorReporter {
public:
virtual ~ErrorReporter() {}
virtual int Report(const char* format, va_list args) = 0;
int Report(const char* format, ...);
int ReportError(void*, const char* format, ...);
};

}

#ifndef TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
do {
reporter->Report(VA_ARGS);
} while (false)
#else // TF_LITE_STRIP_ERROR_STRINGS
#define TF_LITE_REPORT_ERROR(reporter, ...)
#endif // TF_LITE_STRIP_ERROR_STRINGS

#endif

(error_reporter.h 소스코드)

  • 재현환경: Visual Studio Code, Language: C, C++, output_handler: "tensorflow/lite/micro/examples/hello_world/output_handler.h"
  • 에러로그
In file included from tensorflow/lite/micro/examples/hello_world/micro_error_reporter.h:18,
                from tensorflow/lite/micro/examples/hello_world/output_handler.h:20,
                from MachineRunning.c:1:
tensorflow/lite/micro/examples/hello_world/../../../../../tensorflow/lite/core/api/error_reporter.h:18:10: fatal error: cstdarg: No such file or directory
#include <cstdarg>
         ^~~~~~~~~
compilation terminated.

Tensorflow Github

Stack Overflow

[9/2] Weekly Conference Call Agenda

  • 할 일 (Action item)

    • 노션 복구 => 끝나고
    • OKR 발표
  • 확인사항 (Follow up Action item)

    • 모빌리티 팀 현업 가이드 추가 스케쥴링/필요한지 확인
  • 안내사항 (Guide)

    • 공식 결원 발표
    • 8/31-9/6 프로젝트 마감 => 강의 종료
    • 다음주 수요일까지 해야할 일
      • 중간 문서 작업 (회의록, 영수증 등 챙기기) => 영수증 첨부 완료
      • 각자 프로젝트 Repository 완성 => PR 날리기 (Project Show Case)
      • Knowledge Transfer Session PPT 만들고 발표 <= 데이터야놀자 발표예정, Hopefully 본선 발표용 (다음주 콜에서 논의)
      • 각자 읽을 부분 분배
    • 9/7-13 보고서/책&TF-Lite 기여
      • 코드 돌려보고 이슈 리포팅 => 담당 정해서 해결
    • 결과물의 성공보단, 설계도의 충실함
    • Collaborator
  • 논의사항 (Discussion)

모델 성능 개선

라스트팡1

  • pedestrian 제거
  • low resolution data 추가 제거
  • gaussian blur layer 추가

라스트팡2

  • 데이터셋 추가

Makefile 실행 중 Error 발생

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: 페이지 119을 진행하다가 Error 발생함
  • 재현과정:
  • 재현환경: CentOS7, Makefile Version : 3.82
  • 에러로그

image

Tensorflow Github

Stack Overflow

TinyML Book 페이지 130을 진행하다가 Error 발생함

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

에러로그

  • 이슈내용: 페이지 130을 진행하다가 Error 발생함(issue#83과 동일한 현상으로 보임)
  • 재현과정:
  • 재현환경: OSX, Makefile Version : 4.3
  • 에러로그
(base) ➜  tensorflow git:(master) ✗ make -f tensorflow/lite/micro/tools/make/Makefile hello_world
tensorflow/lite/micro/tools/make/Makefile:401: warning: overriding recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
tensorflow/lite/micro/tools/make/Makefile:401: warning: ignoring old recipe for target 'tensorflow/lite/micro/tools/make/downloads/person_model_int8'
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter  -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -c tensorflow/lite/micro/examples/hello_world/main.cc -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/main.o
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter  -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -c tensorflow/lite/micro/examples/hello_world/main_functions.cc -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/main_functions.o
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter  -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -c tensorflow/lite/micro/examples/hello_world/output_handler.cc -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/output_handler.o
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter  -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -c tensorflow/lite/micro/examples/hello_world/constants.cc -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/constants.o
g++ -std=c++11 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fno-unwind-tables -ffunction-sections -fdata-sections -fmessage-length=0 -DTF_LITE_STATIC_MEMORY -O3 -Werror -Wsign-compare -Wdouble-promotion -Wshadow -Wunused-variable -Wmissing-field-initializers -Wunused-function -Wswitch -Wvla -Wall -Wextra -Wstrict-aliasing -Wno-unused-parameter  -DTF_LITE_DISABLE_X86_NEON -DTF_LITE_DISABLE_X86_NEON -I. -Itensorflow/lite/micro/tools/make/downloads/ -Itensorflow/lite/micro/tools/make/downloads/gemmlowp -Itensorflow/lite/micro/tools/make/downloads/flatbuffers/include -Itensorflow/lite/micro/tools/make/downloads/ruy -Itensorflow/lite/micro/tools/make/downloads/kissfft -o tensorflow/lite/micro/tools/make/gen/osx_x86_64/bin/hello_world tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/main.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/main_functions.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/model.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/output_handler.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/obj/tensorflow/lite/micro/examples/hello_world/constants.o tensorflow/lite/micro/tools/make/gen/osx_x86_64/lib/libtensorflow-microlite.a -Wl,--fatal-warnings -Wl,--gc-sections -lm -framework Foundation -framework AudioToolbox
ld: unknown option: --fatal-warnings
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [tensorflow/lite/micro/examples//hello_world/Makefile.inc:42: tensorflow/lite/micro/tools/make/gen/osx_x86_64/bin/hello_world] Error 1

Tensorflow Github

Stack Overflow

p.204 실행 안됨

TinyML: Tensorflow lite for microcontroller 이슈

이곳은 텐서플로우 라이트 한글화 프로젝트의 Issue 공간입니다. 텐서플로우 자체에 이슈가 있다면 아래의 Github 링크나 Stack Overflow를 참조하시기 바랍니다.

  • 이슈내용: 책에는 마이크 접근을 요청하는 팝업이 나타난다는데, 아무것도 나타나지 않습니다.
  • 재현과정: tensorflow/lite/micro/tools/make/gen/linux_x86_64/bin/micro_speech
  • 재현환경: 우분투 22.04.1 LTS
  • 에러로그: 로그는 아니고, bin폴더에 저장된 프로그램이 작동하지 않는 것 같습니다.
log

Tensorflow Github

Stack Overflow

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.