일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- linux
- 프로그래밍
- 프로세스
- Windows 10
- C++
- 알고리즘
- 학습
- 턱걸이
- 시스템프로그래밍
- Computer Vision
- shell
- error
- 백준알고리즘
- 코딩
- TensorFlow
- OpenCV
- CV
- Windows10
- 쉘
- 텐서플로우
- 백준
- 운영체제
- 공부
- c
- 딥러닝
- 리눅스
- python
- 회귀
- C언어
- 영상처리
- Today
- Total
목록error (7)
줘이리의 인생적기
problem sudo apt-get install error Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/kr.archive.ubuntu.com_ubuntu_dists_bionic_universe_binary-amd64_Packages E: The package lists or status file could not be parsed or opened. solution sudo rm /var/lib/apt/lists/* -vf sudo apt-get update
ERROR Exception: PyQtGraph requires one of PyQt5, PyQt6 or PySide2 or PySide6; none of these packages could be imported. SOLUTION pip install pyqt5
ERROR ModuleNotFoundError: No Module named 'OpenGL' SOLUTION pip installl pyopengl
ERROR ModuleNotFoundError: No module named 'netifaces' SOLUTION pip install netifaces
ERROR ModuleNotFoundError: No module named 'sparseconvnet' SOLUTION git clone git@github.com:facebookresearch/SparseConvNet.git cd SparseConvNet/ bash develop.sh
ERROR ImportError: No module named easydict SOLUTION pip install easydict

sigmoid 활성화 함수를 구현하여, 입력이 1일 때 출력이 0이 되는 뉴런을 만들어보겠습니다. import tensorflow as tf import math def sigmoid(x): return 1 / (1 + math.exp(-x)) x = 1 y = 0 w = tf.random.normal([1], 0, 1) output = sigmoid(x * w) error = y - output print("output = ", output) print("error = ", error) 0이 되기에는 역부족으로 보입니다. 이제 w값을 변화시켜야 하는데 경사하강법을 사용해보겠습니다. 경사하강법은 w에 입력과 학습률(α)과 error를 곱한 값을 더해주는 것입니다. w = w + x * α * error ..