기본으로 제공되는 건 없으려나?

 

[링크 : https://stackoverflow.com/questions/56766639/how-to-convert-ckpt-to-pb]

 

$ saved_model_cli convert tensorrt
usage: saved_model_cli convert [-h] --dir DIR --output_dir OUTPUT_DIR --tag_set TAG_SET {tensorrt} ...
saved_model_cli convert: error: the following arguments are required: --dir, --output_dir, --tag_set

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

Learning without Forgetting (LwF)  (0) 2021.04.12
딥러닝 학습 transfer, quantization  (0) 2021.04.12
labelImg  (0) 2021.04.09
tf docker  (0) 2021.04.09
tensorboard 사용법  (0) 2021.04.08
Posted by 구차니

귀찮아서 b main 으로만 쓰는건 함정 ㅋㅋ

for 반복문으로 인해서 귀찮아서 결국에는 라인으로 브레이크 잡는법 찾은것도 함정

 

gdb> break filename:line
gdb> b filename:line
gdb> b function

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

 

브레이크 목록보기

gdb> info break
gdb> i b

[링크 : https://ccrma.stanford.edu/~jos/stkintro/Useful_commands_gdb.html]

Posted by 구차니

yolo나 tensorflow 에서 학습/검증을 위한 이미지 라벨링 프로그램

pip3를 통해 설치가 가능하며 나름 깔끔한 디자인이다.

 

좀 아쉬운건, 수정하고 다음 이미지 누르면 저장할까요 물어보는 것도 아니고

자동 저장되는 것도 아닌 그냥 날아간다는 점 -_ㅠ

 

pip3 install labelImg
labelImg
labelImg [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
Annotations are saved as XML files in PASCAL VOC format, the format used by ImageNet. Besides, it also supports YOLO format

[링크 : https://github.com/tzutalin/labelImg]

[링크 : http://blog.naver.com/baek2sm/221886666289]

[링크 : https://hwauni.tistory.com/entry/API-Custom-Object-Detection-API-Tutorial-데이터-준비-Part-1]

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

딥러닝 학습 transfer, quantization  (0) 2021.04.12
tf checkpoint to pb  (0) 2021.04.09
tf docker  (0) 2021.04.09
tensorboard 사용법  (0) 2021.04.08
ssd mobilnetv2 to tflite warnings  (0) 2021.04.07
Posted by 구차니

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

tf checkpoint to pb  (0) 2021.04.09
labelImg  (0) 2021.04.09
tensorboard 사용법  (0) 2021.04.08
ssd mobilnetv2 to tflite warnings  (0) 2021.04.07
ssd mobilenetv2 python load pb, tflite  (0) 2021.04.07
Posted by 구차니

 

$ wget https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/python/tools/import_pb_to_tensorboard.py
$ python3 import_pb_to_tensorboard.py --model_dir ./ --log_dir ./tensorboard
$ tensorboard --logdir ./tensorboard

[링크 : https://aciddust.github.io/blog/post/Tensorflow-pb파일-TensorBoard에-올리기/]

[링크 : https://raw.githubusercontent.com/tensorflow/tensorflow/master/tensorflow/python/tools/import_pb_to_tensorboard.py]

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

labelImg  (0) 2021.04.09
tf docker  (0) 2021.04.09
ssd mobilnetv2 to tflite warnings  (0) 2021.04.07
ssd mobilenetv2 python load pb, tflite  (0) 2021.04.07
representative_dataset  (0) 2021.04.06
Posted by 구차니
프로그램 사용/gcc2021. 4. 8. 12:02

와.. 먼가 쓸데없는 뻘짓 ㅋㅋㅋ

 

makefile 에서 \" \" 로 감싸주니 의외로 간단하게 해결

#CROSS_PREFIX	= arm-buildroot-linux-gnueabihf
CFLAGS			= $(INCLUDEDIRS) -o -W -Wall -O2 -DCROSS_PREFIX=\"$(CROSS_PREFIX)\"

 

테스트 코드

void main()
{
    printf("%s\n", CROSS_PREFIX);
}

 

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

gcc unsigned to signed cast  (0) 2021.06.22
gcc %p (nil)  (0) 2021.05.07
Auto-vectorization in GCC  (0) 2021.03.25
gcc -march 옵션  (0) 2021.01.24
g++ 은 정적 빌드가 안되나?  (0) 2021.01.19
Posted by 구차니

서울시장 후보 둘다 마음에 드는건 아니지만

아무튼 씁쓸하구만...

 

10여년전 무상급식 반대 주민투표로 셀프탄핵 했고

10년이 지나서 그 피해를 보았을지도 모를 아이들이 그 사람을 뽑은거라면..

 

아니 반대로 피해를 보았을 가능성을 막은거지

피해를 본 건 아니니 오히려 모르는게 당연한걸까?

 

[링크 : https://news.v.daum.net/v/20210407215009218]

[링크 : https://focus.daum.net/ch/election2021/status]

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

20대 개새끼 만들기 프로젝트?  (0) 2021.04.12
KF-X 8조 8천  (2) 2021.04.11
15년 전 탓을 하네  (0) 2021.03.09
의사 면허 취소 반대?  (0) 2021.02.20
미국 정전 반도체 타격  (2) 2021.02.17
Posted by 구차니

 

 

INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.848860 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.849254 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.849459 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.849658 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.849853 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0407 19:04:11.850045 140671031727936 convolutional_keras_box_predictor.py:153] depth of additional conv before box predictor: 0

WARNING:tensorflow:Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x7ff0245f8880>, because it is not built.
W0407 19:04:15.019573 140671031727936 save_impl.py:77] Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x7ff0245f8880>, because it is not built.
2021-04-07 19:04:26.913764: W tensorflow/python/util/util.cc:348] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them.

W0407 19:04:44.291487 140671031727936 save.py:236] Found untraced functions such as BoxPredictor_layer_call_and_return_conditional_losses, BoxPredictor_layer_call_fn, BoxPredictor_layer_call_fn, BoxPredictor_layer_call_and_return_conditional_losses, BoxPredictor_layer_call_and_return_conditional_losses while saving (showing 5 of 125). These functions will not be directly callable after loading.
W0407 19:04:45.480654 140671031727936 save.py:236] Found untraced functions such as BoxPredictor_layer_call_and_return_conditional_losses, BoxPredictor_layer_call_fn, BoxPredictor_layer_call_fn, BoxPredictor_layer_call_and_return_conditional_losses, BoxPredictor_layer_call_and_return_conditional_losses while saving (showing 5 of 125). These functions will not be directly callable after loading.

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

tf docker  (0) 2021.04.09
tensorboard 사용법  (0) 2021.04.08
ssd mobilenetv2 python load pb, tflite  (0) 2021.04.07
representative_dataset  (0) 2021.04.06
tflite run  (0) 2021.04.02
Posted by 구차니

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

tensorboard 사용법  (0) 2021.04.08
ssd mobilnetv2 to tflite warnings  (0) 2021.04.07
representative_dataset  (0) 2021.04.06
tflite run  (0) 2021.04.02
tensorflow image input  (0) 2021.04.02
Posted by 구차니

내가 상상하던 아름다운(?) 모습이 아니라 일단 안하는걸로..

 

project_a (다른 사람의 프로젝트)

project_a/src

 

project_b (내 프로젝트)

project_b를 project_a/src로 서브디렉토리에 넣고 싶은데

 

1. 서브디렉토리에 넣어지진 않음. 저장소 자체가 두개 합쳐지는 개념

2. 1의 문제로 인해서 합치고 디렉토리를 옮기던가, proejct_b를 다시 경로를 정리해서 합치던가 해야 함

3. git log는 timeline 으로 정리되서 시간이 뒤죽박죽으로 꼬이게 됨

  (의도한건 project_a의 마지막 로그 이후로 시간이 변경되는 식으로 쭈욱 붙는 것이었음)

 

아무튼 쓸 게 못되는구나..

(일한거 팍팍 티내려고 했는데 실패..)

2019.06.03 - [프로그램 사용/Version Control] - git 저장소 합치기

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

git log --stat  (0) 2021.05.10
git stash  (0) 2021.05.09
git 특정 디렉토리만 clone 하기  (0) 2021.04.07
git lfs  (0) 2021.04.06
git submodule  (0) 2021.04.05
Posted by 구차니