Code Monkey home page Code Monkey logo

needleworm / bhban_ai Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 16.0 555.69 MB

<수학·통계를 몰라도 이해할 수 있는 쉬운 딥러닝(생능출판사, 2021)> 예제코드. FNN 기초부터 CNN, LSTM까지 딥러닝 전반을 모두 배워볼 수 있습니다. 학습용 데이터와 프리프로세서도 모두 포함되어 있으므로, 본문을 읽으며 딥러닝 모델 위주로 학습하실 수 있습니다.

Home Page: https://needleworm.github.io/bhban_ai

Python 100.00%
ai deeplearning

bhban_ai's People

Contributors

needleworm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bhban_ai's Issues

안녕하세요? jetson nano에서 FNN 2_5_1을 실행하는 데 오류가 나서 문의드립니다.

jetsonai@jetsonai-desktop:~/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까$ python3 main.py
2021-05-25 17:12:04.575030: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
Traceback (most recent call last):
File "main.py", line 12, in
dr = data_reader.DataReader()
File "/home/jetsonai/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까/data_reader.py", line 15, in init
self.train_X, self.train_Y, self.test_X, self.test_Y = self.read_data()
File "/home/jetsonai/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까/data_reader.py", line 43, in read_data
x, cls = self.process_data(splt)
File "/home/jetsonai/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까/data_reader.py", line 99, in process_data
return data, cls
UnboundLocalError: local variable 'cls' referenced before assignment

제가 data_reader.py에서 수정한 부분은
29번째 줄입니다.
file = open("data/" + filename) -> file = open("data/" + filename, encoding="utf-8", errors='ignore')

다음과 같은 에러가 나서 위와같이 수정했습니다.

2021-05-25 17:21:35.893327: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
Traceback (most recent call last):
File "main.py", line 12, in
dr = data_reader.DataReader()
File "/home/jetsonai/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까/data_reader.py", line 15, in init
self.train_X, self.train_Y, self.test_X, self.test_Y = self.read_data()
File "/home/jetsonai/coding/GitHub/bhban_ai/[2편] 인간의 뇌세포를 흉내 낸 인공지능 - FNN/[5장] 분류(Classification) 기법 활용하기/2_5_1_AI는 체격을 보고 초, 중, 고등학생을 구분할 수 있을까/data_reader.py", line 34, in read_data
file.readline()
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 3: invalid continuation byte

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.