name 'load_img' is not defined

 

No module named 'cv2'

 

pip install opencv-python

 

/Users/soralee/.conda/envs/env01/bin/python "/Applications/PyCharm with Anaconda plugin .app/Contents/plugins/python/helpers/pydev/pydevconsole.py" --mode=client --port=55109
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['/Users/soralee/PycharmProjects/hajunho'])
Python 3.7.6 (default, Jan  8 2020, 13:42:34) 
Type 'copyright', 'credits' or 'license' for more information
IPython 7.12.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.12.0
Python 3.7.6 (default, Jan  8 2020, 13:42:34) 
[Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
runfile('/Users/soralee/PycharmProjects/hajunho/dnc.py', wdir='/Users/soralee/PycharmProjects/hajunho')
Using TensorFlow backend.
channels_last
2020-03-13 05:25:29.845822: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
Model: "sequential_1"
_________________________________________________________________
Layer (type)                 Output Shape              Param #   
=================================================================
conv2d_1 (Conv2D)            (None, 148, 148, 32)      896       
_________________________________________________________________
activation_1 (Activation)    (None, 148, 148, 32)      0         
_________________________________________________________________
max_pooling2d_1 (MaxPooling2 (None, 74, 74, 32)        0         
_________________________________________________________________
conv2d_2 (Conv2D)            (None, 72, 72, 32)        9248      
_________________________________________________________________
activation_2 (Activation)    (None, 72, 72, 32)        0         
_________________________________________________________________
max_pooling2d_2 (MaxPooling2 (None, 36, 36, 32)        0         
_________________________________________________________________
conv2d_3 (Conv2D)            (None, 34, 34, 64)        18496     
_________________________________________________________________
activation_3 (Activation)    (None, 34, 34, 64)        0         
_________________________________________________________________
max_pooling2d_3 (MaxPooling2 (None, 17, 17, 64)        0         
_________________________________________________________________
flatten_1 (Flatten)          (None, 18496)             0         
_________________________________________________________________
dense_1 (Dense)              (None, 64)                1183808   
_________________________________________________________________
activation_4 (Activation)    (None, 64)                0         
_________________________________________________________________
dropout_1 (Dropout)          (None, 64)                0         
_________________________________________________________________
dense_2 (Dense)              (None, 1)                 65        
_________________________________________________________________
activation_5 (Activation)    (None, 1)                 0         
=================================================================
Total params: 1,212,513
Trainable params: 1,212,513
Non-trainable params: 0
_________________________________________________________________
Epoch 1/30

 

Online인 경우 확검자료 내려받은후 점검조회 화면에서 접수 내역 수정 및 전송(확검전송)을 통해 자료 전송

 

 

프로그램 수정 시 유의 사항

점검 자료 편집 후 DDBTB_DFCT Table 자료 저장 시

DNT_RGST                 -> VARCHAR(8)  ‘YYYYMMDD’ 형태로 저장 Ex) 20190129

DNT_CHG                  -> VARCHAR(8)  ‘YYYYMMDD’ 형태로 저장 Ex) 20190129

ID_DFCT_CTYP            -> 변경된 공종으로 저장

CD_CPNY                  -> 공백으로 처리

형태로 저장 해 주세요

 

 

'Blog History' 카테고리의 다른 글

113  (0) 2020.03.13
112  (0) 2020.03.13
110  (0) 2020.03.13
109  (0) 2020.03.13
108  (0) 2020.03.13

+ Recent posts