일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- img
- 브렉시트
- itksnap
- 블록체인
- keras
- error
- cv2
- TF
- loss
- 세계사
- 유로화
- TFRecord
- dtype
- Perceptron
- 딥러닝
- 비트코인
- Training
- deeplearning
- Inference
- qtdesigner
- 세계대전
- Python
- pyqt
- DataSet
- 퍼셉트론
- numpy
- opencv
- TensorFlow
- 유가 급등
- terminal
- Today
- Total
목록전체 글 (118)
활연개랑
((kernel size - 1) * dilated rate + 1)²
import tensorflow as tf from tensorflow.python.training import py_checkpoint_reader checkpoint_path = f'/cp-{123:0>4}.ckpt' reader = py_checkpoint_reader.NewCheckpointReader(checkpoint_path) dtype_map = reader.get_variable_to_dtype_map() shape_map = reader.get_variable_to_shape_map() state_dict = { v: reader.get_tensor(v) for v in shape_map} with open('weight_check.txt', 'w') as file: file.write..
def pixel_accuracy(pred_mask, gt_mask): pixel_labeled = np.sum(gt_mask >= 0) pixel_correct = np.sum((gt_mask == pred_mask)*(gt_mask >= 0)) pixel_acc = pixel_correct*1.0/pixel_labeled return pixel_acc
dpkg를 실행하기 위해서는 superuser 권한이 필요하다는 의미입니다. sudo + 코드를 입력하면 정상적으로 실행됩니다. # 에러 코드 dpkg -i google-chrome-stable_current_amd64.deb # dpkg -i google-chrome-stable_current_amd64.deb dpkg: error: requested operation requires superuser privilege # 수정 코드 sudo dpkg -i google-chrome-stable_current_amd64.deb
1. /home/{사용자이름}/.itksnap.org/ITK-SNAP/ 로 들어감 2. UserPreference.xml 삭제
# ITK-SNAP install sudo apt-get update dpkg -L itksnap sudo apt-get install itksnap # install # ITK-SNAP uninstall/remove sudo apt-get remove itksnap sudo apt-get remove --auto-remove itksnap # ITK-SNAP uninstall/remove (모든 구성 파일과 데이터까지 삭제) sudo apt-get purge itksnap sudo apt-get purge --auto-remove itksnap