'잡동사니'에 해당되는 글 13328건

  1. 2021.02.26 ssd model convert for tflite
  2. 2021.02.26 원격실행된 python/opencv 키 입력
  3. 2021.02.25 tensorflow 용어 정의
  4. 2021.02.25 'xterm': unknown terminal type.
  5. 2021.02.24 노트9 dex 첫 경험
  6. 2021.02.24 tflite convert
  7. 2021.02.24 gmail 앱 동기화 안될 경우
  8. 2021.02.23 tensorflow flex ops
  9. 2021.02.23 tar with pigz
  10. 2021.02.23 qt5 fb reset

파이썬 경로는 매번 이상하네..

$ python3 export_tflite_graph_tf2.py --pipeline_config_path ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config --trained_checkpoint_dir ssd_mobilenet_v2_320x320_coco17_tpu-8/checkpoint/ --output_directory output
$ tflite_convert  --output_file saved_model.tflite --saved_model_dir ./

 

위는 변환에 사용한 ssd_mobilenet_v2_320x320_coco17_tpu-8 의 모델

아래는 export_tflite_graph_tf2.py를 통해 변환된 모델과 해당 모델은 tflite_convert를 통해서 변환한 tflite 모델

용량도 좀 변했는데 먼가 처리를 하긴 한 듯.

-rw-r----- 1 minimonk minimonk 9196842  7월 10  2020 saved_model.pb
-rw-r----- 1 minimonk minimonk 24548676  7월 10  2020 variables.data-00000-of-00001
-rw-r----- 1 minimonk minimonk     6158  7월 10  2020 variables.index

-rw-rw-r-- 1 minimonk minimonk  9321388  2월 26 19:14 saved_model.pb
-rw-rw-r-- 1 minimonk minimonk 24248516  2월 26 19:16 saved_model.tflite
-rw-rw-r-- 1 minimonk minimonk 24546669  2월 26 19:14 variables.data-00000-of-00001
-rw-rw-r-- 1 minimonk minimonk    19031  2월 26 19:14 variables.index

2021/02/24 - [프로그램 사용/yolo_tensorflow_golo] - tflite convert

Posted by 구차니
Linux2021. 2. 26. 15:41

gnome-terminal --disable-factory

로 실행하면 원격지의 gnome-terminal을 로컬에서 실행하게 되긴한데 뜨는데 엄청 오래 걸린다.

[링크 : https://askubuntu.com/questions/1050614/]

 

-Y를 쓰라는데... 이거까진 해보기 힘드네 ㅠㅠ

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

   [링크 : https://ko.ojit.com/so/python/1588153]

'Linux' 카테고리의 다른 글

dm cache  (0) 2021.04.24
watch 복수개 명령어 실행하기  (0) 2021.03.08
'xterm': unknown terminal type.  (0) 2021.02.25
tar with pigz  (0) 2021.02.23
grep regexp match list  (0) 2021.02.22
Posted by 구차니

공식적으로 정리된 용어집이 없냐!!!!

 

모델은 텐서가 먼가를 연산하는 함수 기능?

A model is, abstractly:

A function that computes something on tensors (a forward pass) Some variables that can be updated in response to training

[링크 : http://www.tensorflow.org/guide/intro_to_graphs]

 

그래프는 tf.Operation 객체의 집합을 포함하는 데이터 구조

Graphs are data structures that contain a set of tf.Operation objects, which represent units of computation; and tf.Tensor objects, which represent the units of data that flow between operations

[링크 : http://www.tensorflow.org/guide/intro_to_modules]

 

체크포인트는 모델에 의해서 사용되는 모든 패러미터의 정확한 값을 캡쳐한다.

Checkpoints capture the exact value of all parameters (tf.Variable objects) used by a model. Checkpoints do not contain any description of the computation defined by the model and thus are typically only useful when source code that will use the saved parameter values is available.

[링크 : http://www.tensorflow.org/guide/checkpoint]

[링크 : http://www.tensorflow.org/guide/saved_model]

 

 

Posted by 구차니
Linux2021. 2. 25. 12:12

$ clear
'xterm': unknown terminal type.

 

갑자기 clear가 안되서 찾아보니 여러가지가 나오는데 

export TERM=xterm은 나에게는 효과가 없었고 vt100으로 해주니 효과가 있었다.

근데 이거 하면 clear가 안된다?! 도대체 어떻게 해야하지 ㅠㅠ

export TERM=vt100

[링크 : https://bluebam.tistory.com/entry/STB에서-top이-안먹힐때]

 

$ env | grep TERM
TERM=xterm

'Linux' 카테고리의 다른 글

watch 복수개 명령어 실행하기  (0) 2021.03.08
원격실행된 python/opencv 키 입력  (0) 2021.02.26
tar with pigz  (0) 2021.02.23
grep regexp match list  (0) 2021.02.22
리눅스 스마트 카드 api  (0) 2021.02.02
Posted by 구차니

노트북에 사용중이던 usb c hdmi eth 에 연결하니 바로 뜬다.

로지텍 무선 리시버 꽃으니 문제없이 인식

아무튼 블투 키보드만 있으면

설정해서 핸드폰은 터치패드로 입력 받으면 가벼운 사무는 충분 할 듯.

 

ssh 클라이언트나 콘솔만 지원하면 더할 나위 없을것 같네.

아니.. x11 정도면 금상첨화이려나 ㅋㅋ

 

 

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

pet 보호필름  (0) 2021.02.27
안드10 절전 모드 정책  (0) 2021.02.26
gmail 앱 동기화 안될 경우  (0) 2021.02.24
카카오톡 대화내용 옮기기  (0) 2021.02.07
v50s 색감이..  (0) 2021.02.06
Posted by 구차니

계속 tflite_convert 만 사용했는데 export_Tflite_graph_tf2.py 라는 다른 녀석을 발견했다.

ssd mobilenetv2를 주로 사용했었으니 이걸로 tflite 변환이 잘되면 좋겠네 ㅠㅠ

 

NOTE: This only supports SSD meta-architectures for now.

[링크 : http://github.com/tensorflow/models/blob/master/research/object_detection/export_tflite_graph_tf2.py]

[링크 : http://github.com/tensorflow/models/issues/9371]

 

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

ssd model convert for tflite  (0) 2021.02.26
tensorflow 용어 정의  (0) 2021.02.25
tensorflow flex ops  (0) 2021.02.23
tensorflow 1.15 설치가 힘들군  (0) 2021.02.22
tensorflow2 학습 해보기 어렵네..  (0) 2021.02.20
Posted by 구차니

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

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

 

회사 계정의 경우 정책상 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 구차니