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

  1. 2021.04.05 cunit
  2. 2021.04.05 실행파일 not fount, FATAL: kernel too old
  3. 2021.04.04 공기 청정기 구매
  4. 2021.04.03 밥솥 압력패킹 교체
  5. 2021.04.02 tflite run
  6. 2021.04.02 tensorflow image input
  7. 2021.04.02 ssd model pb to tflite with quantization
  8. 2021.04.02 tensorflow quantization
  9. 2021.04.02 pmod pinout
  10. 2021.04.01 tensorflow lite
프로그램 사용/cunit2021. 4. 5. 14:36

junit도 cunit도 듣기만 하고 써보려고 하는건 처음이네..

TDD 본건 기억이 나는데..

막상 cunit 적용하려니 함수 하나하나를 설계하는게 쉽지가 않네..

 

[링크 : http://dslab.konkuk.ac.kr/class/2017/17SE/Team_Project_B/A3/201411283_유병찬.pdf]

[링크 : https://blog.naver.com/zzeun/130104823706]

[링크 : http://cunit.sourceforge.net/example.html]

[링크 : https://cunity.gitlab.io/cunit/]

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

cunit test mode - auto / basic / console / ncurse  (0) 2021.04.06
ubuntu에서 cunit  (0) 2021.04.06
CI/CD - Continuous integration continuous delivery  (0) 2021.04.05
CUnit  (0) 2014.03.11
Posted by 구차니
Linux API/linux2021. 4. 5. 10:53

빌드해서 올리는데 파일이 있는데 없다고?!?!

혹시나 해서 보는데 target에 file도 없어 ㅠㅠㅠㅠ 아놔 -_-

아무튼 

파일이 없는건

zynq> ./test
-sh: ./test: not found

zynq> ls -al /lib/ld-
ld-2.13.so     ld-linux.so.3

zynq> ls -al /lib/ld-linux.so.3
lrwxrwxrwx    1 root     root            10 Nov 27  2012 /lib/ld-linux.so.3 -> ld-2.13.so

zynq> ./test
FATAL: kernel too old
Aborted

 

/lib/ld-linux-armhf.so.3 와 /lib/ld-linux.so 의 차이 -_-

아니 저정도면 실행시에 링크파일이 없다고 에러나와줘야지 ㅠㅠ

왜 자기 자신이 없다고 에러가 나는게야!!

$ file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.9.0, with debug_info, not stripped

 

아무튼 빡쳐서(!) static 링크해서 빌드하고 실행했더니

$ file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), statically linked, for GNU/Linux 4.9.0, with debug_info, not stripped

 

야이!!!

zynq> ./test
FATAL: kernel too old
Aborted

 

에라이 걍 컴파일러 바꿔 -_-

[링크 : https://ggpapa.tistory.com/36]

[링크 : https://blog.naver.com/calb30095/221005114736]

'Linux API > linux' 카테고리의 다른 글

linux gpio interrupt poll?  (0) 2021.05.04
Floating point exception  (0) 2021.04.05
spi 통신 예제(linux)  (0) 2021.01.28
linux USB bulk 통신  (0) 2020.10.21
linux open() 과 8진법  (0) 2020.09.28
Posted by 구차니

먼길을 가서 업어옴

정말 커서 업어오다 시피함 ㅠㅠ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

구리 롯데마트 3월 말 영업종료  (0) 2021.04.17
알뜰교통카드  (2) 2021.04.05
밥솥 압력패킹 교체  (0) 2021.04.03
4월 지름의 시작  (2) 2021.04.01
맨날 피곤하고 정신없고  (0) 2021.03.30
Posted by 구차니

하이마트에서 소모품으로 팔아서 구매

 

하이마트 판매가가 쿠쿠 인터넷 몰이랑 동일 하니, 나름 손해본건 아닌 듯.

[링크 : http://www.cuckoo.co.kr/mall/productView?productNo=4522]

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

알뜰교통카드  (2) 2021.04.05
공기 청정기 구매  (0) 2021.04.04
4월 지름의 시작  (2) 2021.04.01
맨날 피곤하고 정신없고  (0) 2021.03.30
freet kt 노트9 읭?  (0) 2021.03.29
Posted by 구차니

엄밀하게는 tensorflow 전체에 대해서

모델 읽어 들이고 반복실행 부분을 찾는 중.

 

 

[링크 : http://stackoverflow.com/questions/65351046/how-to-feed-multiple-inputs-tflite-model-in-python-interpreter]

[링크 : http://www.tensorflow.org/lite/guide/inference#load_and_run_a_model_in_python]

 

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

ssd mobilenetv2 python load pb, tflite  (0) 2021.04.07
representative_dataset  (0) 2021.04.06
tensorflow image input  (0) 2021.04.02
ssd model pb to tflite with quantization  (0) 2021.04.02
tensorflow quantization  (0) 2021.04.02
Posted by 구차니

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

representative_dataset  (0) 2021.04.06
tflite run  (0) 2021.04.02
ssd model pb to tflite with quantization  (0) 2021.04.02
tensorflow quantization  (0) 2021.04.02
tensorflow lite  (0) 2021.04.01
Posted by 구차니

와... int8과 uint8 차이로

input_tensor 주소 받는게 안되다니!!

 

memcpy(interpreter->typed_input_tensor<uchar>(0), image.data, image.total() * image.elemSize());
memcpy(interpreter->typed_input_tensor<float>(0), image.data, image.total() * image.elemSize());

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

tflite run  (0) 2021.04.02
tensorflow image input  (0) 2021.04.02
tensorflow quantization  (0) 2021.04.02
tensorflow lite  (0) 2021.04.01
tensorflow 양자화  (0) 2021.03.04
Posted by 구차니

비슷한 제목에 다른 내용..

 

quantization은 현재로서는.. pb 에서 tflite로 변환할때 적용이 가능하고

tflite/float32로 변환된걸 unit8로 다시 한번 변환이 가능한진 모르겠다.

 

[링크 : https://www.tensorflow.org/lite/performance/post_training_quantization]

[링크 : https://www.tensorflow.org/lite/performance/post_training_integer_quant]

Posted by 구차니
embeded/FPGA - XILINX2021. 4. 2. 16:05

microzed 에서 12핀 짜리가 보이길래 찾아보니

 

8핀이 pmod라네?

 

[링크 : https://reference.digilentinc.com/reference/pmod/specification]

'embeded > FPGA - XILINX' 카테고리의 다른 글

xvc - xilinx virtual cable  (0) 2021.08.24
microzed..  (0) 2021.04.07
xilinx vitis  (0) 2021.03.31
xilinx fpga bank  (0) 2021.03.29
adapteva parallela와 3080  (0) 2021.03.29
Posted by 구차니

원인 불명의 segmentation fault가 떠서 보니..

입력 tflite 파일이 바뀌었고

input이 uint8에서 float32로 바뀌어서 그런가 하고 바꾸어보니 문제없이 작동한다.

 

memcpy(interpreter->typed_input_tensor<uchar>(0), image.data, image.total() * image.elemSize());
memcpy(interpreter->typed_input_tensor<float>(0), image.data, image.total() * image.elemSize());

 

typed_input_tensor

T * typed_input_tensor(
  int index
)
Return a mutable pointer into the data of a given input tensor.

The given index must be between 0 and inputs().size().

[링크 : https://www.tensorflow.org/lite/api_docs/cc/class/tflite/interpreter]

 

+

학습이 잘못되었나..

둘다 num_classes가 90으로 동일하다.. COCO 90개를 기반으로 추가 학습을 했으면 더 늘어 나야 하는거 아닌가?

 

아래가 추가 학습한 내용.. quantized가 빠지고 use_regular_nms가 추가

아무튼 탐지는 하는데 이상한 숫자로 나오고(0번이던 91이든 나올줄 알았는데)

width도 개판으로 나와서 보니

기존은 이쁘게 0,1,2,3 순서라면

 

학습한 녀석은 3,2,1,0

 

그래서 width랑 label index가 이상하다고 느껴지는건가?

Posted by 구차니