나의 경우는 회사 계정이라 다른 문제가 원인이었네..

일단 귀찮아서(!) 핸드폰 잠금을 없음으로 하다 보니

 

회사 계정의 경우 정책상 PIN이나 드래그나 지문등을 하도록 강제되어 있는데

내가 한 설정과 충돌이 나서 별다른 알람없이 계속 멈춰있는 것으로 보였던 것 -_-

 

 

아무튼 해결책은

1. 핸드폰 화면 잠금 설정

2. 보안폴더에 PIN 설정해놨으니 보안폴더에 gmail 앱 복사하고 사용 << 이걸로 사용중

 

[링크 : https://support.google.com/mail/answer/4780745?co=GENIE.Platform%3DAndroid&hl=ko]

'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

안드10 절전 모드 정책  (0) 2021.02.26
노트9 dex 첫 경험  (0) 2021.02.24
카카오톡 대화내용 옮기기  (0) 2021.02.07
v50s 색감이..  (0) 2021.02.06
모바일 크롬 탭 설정 변경  (0) 2021.02.02
Posted by 구차니

flex ops라는 말이 많이 나와서 도대체 멀까 정의를 찾아보는데 공식적인 문서는 발견하지 못했지만..

select 텐서플로우 ops를 텐서플로우 라이트에서 사용하는 내부 코드의 명칭

이라고 하니 더 이해가 안되네?

 

"Flex" is the internal code name for the "Using TensorFlow Lite with select TensorFlow ops" feature.

[링크 : http://stackoverflow.com/questions/53824223/what-does-flex-op-mean-in-tensorflow]

[링크 : https://www.tensorflow.org/lite/guide/ops_select]

 

+

[링크 : https://github.com/tensorflow/tensorflow/issues/45875]

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

tensorflow 용어 정의  (0) 2021.02.25
tflite convert  (0) 2021.02.24
tensorflow 1.15 설치가 힘들군  (0) 2021.02.22
tensorflow2 학습 해보기 어렵네..  (0) 2021.02.20
tensorflow 객체 탐지 디렉토리 구조  (0) 2021.02.19
Posted by 구차니
Linux2021. 2. 23. 19:12

man 뒤져보니 -I 옵션에 압축 프로그램으로 사용할 명령어를 넣어주는게 있네

       -I, --use-compress-program=COMMAND
              Filter data through COMMAND.  It must accept the -d option,  for
              decompression.  The argument can contain command line options.

 

tar -I pigz -xf /mnt/sd/current/backup/bigbackup_web.tar.gz -C /tmp

[링크 : https://stackoverflow.com/questions/36917882/how-to-use-pigz-with-tar]

'Linux' 카테고리의 다른 글

원격실행된 python/opencv 키 입력  (0) 2021.02.26
'xterm': unknown terminal type.  (0) 2021.02.25
grep regexp match list  (0) 2021.02.22
리눅스 스마트 카드 api  (0) 2021.02.02
linux smart card  (0) 2021.02.02
Posted by 구차니
Programming/qt2021. 2. 23. 13:56

, 인줄 알았는데 : 로 해주어야 하네

QT_QPA_PLATFORM=linuxfb:fb=/dev/fb1:nographicsmodeswitch ./qt_app

 

nographicsmodeswitch Specifies not to switch the virtual terminal to graphics mode (KD_GRAPHICS). Typically, enabling graphics mode disables the blinking cursor and screen blanking. However, when this parameter is set, those two features are also skipped.

[링크 : https://doc.qt.io/qt-5/embedded-linux.html]

 

export QWS_DISPLAY="<driver>[:<driver specific options>]...
          [:<display num>]"

[링크 : https://qt.developpez.com/doc/4.7/qt-embedded-displaymanagement/]

'Programming > qt' 카테고리의 다른 글

qt 변수 초기화 문법, cpp 초기화 리스트  (0) 2021.12.08
qt framebuffer에 출력하기  (0) 2021.02.09
qt - ts / qm  (0) 2015.02.24
qt 5.3 cross compile 조사  (0) 2015.01.21
qt 4.x/5.x INSTALL_PATH  (0) 2015.01.20
Posted by 구차니
Linux2021. 2. 22. 19:46

grep 을 쓰면 파일명 등의 자질구레한(?) 정보가 나오는데

그런거 빼고 순수하게 매칭되는 부분만 추출해 낼 때 쓰는 옵션

 

grep  -Op "regexp"

[링크 : https://unix.stackexchange.com/questions/13466/can-grep-output-only-specified-groupings-that-match]

'Linux' 카테고리의 다른 글

'xterm': unknown terminal type.  (0) 2021.02.25
tar with pigz  (0) 2021.02.23
리눅스 스마트 카드 api  (0) 2021.02.02
linux smart card  (0) 2021.02.02
linux shared memory 확인 및 삭제  (0) 2021.01.22
Posted by 구차니

 

$ python3
Python 3.8.5 (default, Jul 28 2020, 12:59:40) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

 

$ pip3 install tensorflow==1.15.5
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.5 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0, 2.4.1)
ERROR: No matching distribution found for tensorflow==1.15.5

[링크 : https://pypi.org/project/tensorflow/1.15.5/]

 

[링크 : https://stackoverflow.com/questions/61491893/i-cannot-install-tensorflow-version-1-15-through-pip]

'프로그램 사용 > yolo_tensorflow' 카테고리의 다른 글

tflite convert  (0) 2021.02.24
tensorflow flex ops  (0) 2021.02.23
tensorflow2 학습 해보기 어렵네..  (0) 2021.02.20
tensorflow 객체 탐지 디렉토리 구조  (0) 2021.02.19
tensorflow model 학습 시작지점  (0) 2021.02.18
Posted by 구차니

재생하려니 안되고...

Pixel format yuv420p is not supported, use bgr24

 

pix_fmt 로 바꾸려고 하니 안되네.. -_-

Incompatible pixel format 'bgr24' for codec 'mpeg4', auto-selecting format 'yuv420p'

 

오잉?

-pix_fmts           show available pixel formats
-sample_fmts        show available audio sample formats
-f fmt              force format

 

 

+

하드웨어 가속을 못 받아서 그런가 무지 힘들어 하네

 

$ ffmpeg -re -i INPUT -c:v rawvideo -pix_fmt bgra -f fbdev /dev/fb0

[swscaler @ 0x2020050] No accelerated colorspace conversion found from yuv420p to rgb24.

[링크 : https://ffmpeg.org/ffmpeg-devices.html#Examples-12]

'프로그램 사용 > ffmpeg & ffserver' 카테고리의 다른 글

mp4 복구 시도  (0) 2022.01.24
ffmpeg을 이용한 rgb565 to bmp  (0) 2021.10.18
ffmpeg fbdev  (0) 2021.02.09
ffmpeg build  (0) 2020.11.25
webm을 mp3로 변환하기  (0) 2020.04.01
Posted by 구차니

가 목적은 아니었고

갑자기 띵똥해서 동의서 받으러 왔다길래 설명서 받았다가

읽고 돌려드리고 사인하려고 올라가다 보니 6층 ㅋㅋ

 

평지만 걷기 하다 보니 근력이 약해진건지

마스크 때문에 숨을 크게 못쉬어서 더 힘든건지

아마도 둘다겠지만 -_ㅠ

 

힘들었다 ㅠㅠ

 

그래서 저녁에 다시 큰 맘 (!) 먹고 12층까지 걸었는데

1층에 살다보니 엘리베이터 탈일이 없어서 이제야 두번째 탄 듯

 

아무튼 25층까지 빼곡하게 버튼이 있는걸 보니 신기하네 ㅋㅋ

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

spi 어우..  (0) 2021.03.03
결정세액 0원이 좋은게 아니었나?  (0) 2021.02.26
정신없어!!  (2) 2021.02.16
소득공제..  (0) 2021.02.12
사과가 잘 안팔린다 ㅠㅠ  (0) 2021.02.06
Posted by 구차니

아주 에러가 에러에 에러를 무는구만...

 

ModuleNotFoundError: No module named 'official'

pip3 install tf-models-official

[링크 : https://github.com/tensorflow/models/issues/8291]

 

from object_detection.protos import string_int_label_map_pb2 ImportError: cannot import name 'string_int_label_map_pb2' 

sudo apt-get install protobuf-compiler

protoc object_detection/protos/*.proto --python_out=.

[링크 : https://github.com/tensorflow/models/issues/7877]

 

tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for checkpoint/mobilenet_v2.ckpt-1

[링크 : https://github.com/bourdakos1/Custom-Object-Detection/issues/11]

[링크 : https://github.com/tensorflow/models/issues/2676]

 

일단은 기존의 체크포인트가 있는건가 싶어서 아래의 경로에서 학습된걸 받고

config에서 300 300인걸 320 320으로 수정하고 아래와 같이 ckpt-0.data 식으로 되어 있어서 ckpt-0만 입력해주니 일단 넘어간다.

train_config: {
  fine_tune_checkpoint_version: V2
  fine_tune_checkpoint: "checkpoint/ckpt-0"
  fine_tune_checkpoint_type: "classification"

[링크 : http://download.tensorflow.org/models/object_detection/tf2/20200711/ssd_mobilenet_v2_320x320_coco17_tpu-8.tar.gz]

 

tensorflow/core/framework/cpu_allocator_impl.cc:80] Allocation of 629145600 exceeds 10% of free system memory.

config 파일에서 찾아보니 train_config에 batch_size가 좀 큰 듯?

train_config: {
  fine_tune_checkpoint_version: V2
  fine_tune_checkpoint: "aimd/checkpoint/ckpt-0"
  fine_tune_checkpoint_type: "classification"
  batch_size: 512

[링크 : https://stackoverflow.com/questions/50304156]

 

AssertionError: Some Python objects were not bound to checkpointed values, likely due to changes in the Python program: [SyncOnReadVariable:{
  0: <tf.Variable 'block_6_expand_BN/moving_variance:0' shape=(192,) dtype=float32, numpy=

아니. 제공된 건데 왜 detection이 아니고 classification으로 되어 있는거야?

# fine_tune_checkpoint_type: "classification"

fine_tune_checkpoint_type: "detection"

[링크 : https://stackoverflow.com/questions/63552169]

 

 

ValueError: Cannot assign to variable BoxPredictor/ConvolutionalClassHead_0/ClassPredictor/bias:0 due to variable shape (6,) and value shape (273,) are incompatible

원래 학습된게 90개를 구분하도록 된 녀석인데 강제로 숫자를 바꾸어 주었더니(90->1) 저렇게 에러가 난듯.

대충 (1+1)*3 과 (90+1)*3 을 해보면 맞는 수치인 것 같은데..

[링크 : https://eehoeskrap.tistory.com/368]

 

i5-2520m 에서 1번의 train/ 1번의 eval을 하도록 설정하였는데

train 880 여개 eval 220  여개 인데 나름 1분 30초면 빠른건가? (쌩 cpu 만으로 하는데)

2021. 02. 20. (토) 23:47:07 KST
real 1m29.988s
user 2m4.538s
sys 0m6.553s
2021. 02. 20. (토) 23:48:37 KST
Posted by 구차니

조금 범위가 너무 광범위 한거 아닌거 싶긴 하지만

대부분은 여론은 통과시켜야 하지 의사들이 너무 윤리적이지 못하다 쪽으로 가는 듯.

 

아무튼 강력범죄를 어떻게 규정하게 되는진 모르겠지만

운전중에 사고로 누군가를 죽이게 될 경우 의사면허 박탈이 맞는것이냐 라고 의협은 이야기 하긴 하는데

 

그럼 의료행위중 발생한 사망사건이나 성추행/성폭행으로 제한하고

수술실 CCTV를 밀어 붙이는게 더 명분이 설려나?

 

어짜피 고삐없이 마음대로 하던 것에 제동이 걸리는 건 매한가지라서

어느쪽이던 반대를 할건 뻔하니 밀어 붙여야 하는게 옳은걸까?

 

[링크 : http://news.v.daum.net/v/20210220172534855]

'개소리 왈왈 > 정치관련 신세한탄' 카테고리의 다른 글

서울 시민은 아니지만..  (2) 2021.04.07
15년 전 탓을 하네  (0) 2021.03.09
미국 정전 반도체 타격  (2) 2021.02.17
트럼프의 나비효과?  (0) 2021.01.10
민주당 머하는 걸까...  (4) 2021.01.02
Posted by 구차니