'2021/02'에 해당되는 글 60건

  1. 2021.02.08 tensorflow pipeline.conf
  2. 2021.02.08 gstreamer tee
  3. 2021.02.07 카카오톡 대화내용 옮기기
  4. 2021.02.07 FTPS
  5. 2021.02.06 v50s 색감이..
  6. 2021.02.06 사과가 잘 안팔린다 ㅠㅠ
  7. 2021.02.05 tf object detection COCO
  8. 2021.02.04 stm32 uart echo
  9. 2021.02.03 STM32CubeIDE / HAL register callbacks
  10. 2021.02.02 모바일 크롬 탭 설정 변경

 

137 train_config {
138   batch_size: 10
139   data_augmentation_options {
140     random_horizontal_flip {
141     }
142   }
143   data_augmentation_options {
144     ssd_random_crop {
145     }
146   }
147   sync_replicas: true
148   optimizer {
149     momentum_optimizer {
150       learning_rate {
151         cosine_decay_learning_rate {
152           learning_rate_base: 0.800000011920929
153           total_steps: 50000
154           warmup_learning_rate: 0.13333000242710114
155           warmup_steps: 2000
156         }
157       }
158       momentum_optimizer_value: 0.8999999761581421
159     }
160     use_moving_average: false
161   }
162   fine_tune_checkpoint: "ssd_mobilenet_v2_320x320_coco17_tpu-8/checkpoint/ckpt-0"
163   num_steps: 50000
164   startup_delay_steps: 0.0
165   replicas_to_aggregate: 8
166   max_number_of_boxes: 100
167   unpad_groundtruth_tensors: false
168   fine_tune_checkpoint_type: "detection"
169   fine_tune_checkpoint_version: V2
170 }


148   optimizer {
149     momentum_optimizer {
150       learning_rate {
151         cosine_decay_learning_rate {
152           learning_rate_base: 0.800000011920929
153           total_steps: 50000
154           warmup_learning_rate: 0.13333000242710114
155           warmup_steps: 2000
156         }
157       }
158       momentum_optimizer_value: 0.8999999761581421
159     }
160     use_moving_average: false
161   }

[링크 : https://github.com/tensorflow/models/blob/master/research/object_detection/configs/tf2/ssd_mobilenet_v2_320x320_coco17_tpu-8.config]

[링크 : https://blog.naver.com/bdh0727/221537759295]

 

+

ModuleNotFoundError: No module named 'tf_slim'
ModuleNotFoundError: No module named 'pycocotools'
ModuleNotFoundError: No module named 'lvis

 

num_train_steps=1로 하니 cpu 로만 학습해도 1회 뿐이라 금세 끝난다.

$ python3 model_main_tf2.py --pipeline_config_path=ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config --model_dir=trained-checkpoint --alsologtostderr --num_train_steps=1 --sample_1_of_n_eval_examples=1 --num_eval_steps=1
$ find ./ -type f -mmin -10
/trained-checkpoint/train/events.out.tfevents.1612780803.mini2760p.5335.2928.v2

 

$ python3 exporter_main_v2.py --input_type image_tensor --pipeline_config_path ./ssd_mobilenet_v2_320x320_coco17_tpu-8/pipeline.config --trained_checkpoint_dir ./trained-checkpoint --output_directory exported-model/mobile-model
$ find ./ -type f -mmin -10
./exported-model/mobile-model/saved_model/variables/variables.index
./exported-model/mobile-model/saved_model/variables/variables.data-00000-of-00001
./exported-model/mobile-model/saved_model/saved_model.pb
./exported-model/mobile-model/checkpoint/checkpoint
./exported-model/mobile-model/checkpoint/ckpt-0.data-00000-of-00001
./exported-model/mobile-model/checkpoint/ckpt-0.index
./exported-model/mobile-model/pipeline.config

 

[링크 : https://github.com/abhimanyu1990/SSD-Mobilenet-Custom-Object-Detector-Model-using-Tensorflow-2] <<

[링크 : https://stackoverflow.com/questions/64510791/tf2-object-detection-api-model-main-tf2-py-validation-loss]

[링크 : https://ichi.pro/ko/tensorflow-gaegche-gamji-gaideu-tensorflow-2-252181752953859]

 

+

[링크 : https://neptune.ai/blog/how-to-train-your-own-object-detector-using-tensorflow-object-detection-api]

 

+

[링크 : https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/auto_examples/plot_object_detection_saved_model.html]

[링크 : https://github.com/tensorflow/models/tree/master/research/object_detection/configs/tf2]

[링크 : https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf2_detection_zoo.md]

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

fpn - Feature Pyramid Network  (0) 2021.02.11
tensorflow pipeline.config  (0) 2021.02.10
tf object detection COCO  (0) 2021.02.05
tensorflow lite SELECT_TF_OPS  (0) 2021.02.02
saved_model_cli  (0) 2021.02.02
Posted by 구차니

요런식으로 해두는걸 tee 라고 하는듯

gst-launch-1.0 filesrc location=song.ogg ! decodebin ! tee name=t ! queue ! audioconvert ! audioresample ! autoaudiosink t. ! queue ! audioconvert ! goom ! videoconvert ! autovideosink

[링크 : https://gstreamer.freedesktop.org/documentation/coreelements/tee.html]

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

gstreamer element 생성 gst_element_factory_make()  (0) 2021.07.13
gst fpsdisplaysink  (0) 2021.02.18
gst videorate  (0) 2021.02.09
gstreamer pipeline  (0) 2015.11.02
gstreamer  (0) 2015.08.05
Posted by 구차니

카톡 환경설정에서 대화 - 대화내용 백업을 하면

다른 장치에서 로그인 시 백업본이 있으면 불러온다.

오픈채팅 이런것들 다 튕길줄 알았는데 전부 유지되서 좋네

 

[링크 : http://news.appstory.co.kr/howto10074]

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

노트9 dex 첫 경험  (0) 2021.02.24
gmail 앱 동기화 안될 경우  (0) 2021.02.24
v50s 색감이..  (0) 2021.02.06
모바일 크롬 탭 설정 변경  (0) 2021.02.02
hifi quad dac?  (0) 2021.01.25
Posted by 구차니

FTP-Secure

SFTP와는 다르게 TLS를 이용해서 FTP를 안전하게 만든거라고 하는데

2013년 정도 글 부터 보이는걸 보면 꽤 오래되긴 한 듯?

 

대충 내용 찾아보니 FTPS는 TLS를 이용해서 키 주고 받고

해당키로 암호화를 한다는건데.. 그럼 SSH/SFTP와 다를게 머가 있지?

(포트 두개 열어놔야 한다는 걸 빼면?)

 

 

[링크 : http://serverfault.com/questions/39760/console-ftps-not-sftp-client]

[링크 : http://www.lesstif.com/system-admin/vsftpd-+-ssl-tls-ftp-54952434.html]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

wake on patern matching  (0) 2021.06.10
rs-422  (0) 2021.06.03
UDP와 MTU?  (0) 2020.09.07
proxy forward / reverse 차이  (0) 2019.02.08
TLS 암호화 (구, SSL)  (0) 2019.02.07
Posted by 구차니

나만 이상하게 느낀거나 뽑기 문제가 아닌걸려나

동일 패널이 아니었나.. 왼쪽 듀얼 스크린은 붉은 색이 강하고 밝기에 따른 기본 색상도 완전 다르고.. ㅠㅠ

아무튼 색온도나 RGB값 조정으로는 못 잡는것 봐서

알파값 쪽 손대기 전에는 비슷하게라도 잡기는 무리일듯..

 

[링크 : http://gigglehd.com/gg/mobile/4865497]

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

gmail 앱 동기화 안될 경우  (0) 2021.02.24
카카오톡 대화내용 옮기기  (0) 2021.02.07
모바일 크롬 탭 설정 변경  (0) 2021.02.02
hifi quad dac?  (0) 2021.01.25
LG 핸드폰 접는건가?!  (0) 2021.01.20
Posted by 구차니

꽃 사세요 아니고 사과 사세요~

 

코로나로 안해서 설 특수가 사라진 덕인가..

하루 종일 1개도 문의가 들어오질 않는다 ㅠㅠ

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

정신없어!!  (2) 2021.02.16
소득공제..  (0) 2021.02.12
내일부터는 휴가  (0) 2020.12.29
드디어 퇴직금 정산 끝  (0) 2020.12.21
돈 복이 없는건지 있는건지..  (0) 2020.11.28
Posted by 구차니

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

tensorflow pipeline.config  (0) 2021.02.10
tensorflow pipeline.conf  (0) 2021.02.08
tensorflow lite SELECT_TF_OPS  (0) 2021.02.02
saved_model_cli  (0) 2021.02.02
tensorflow bazel build 옵션  (0) 2021.02.02
Posted by 구차니
embeded/Cortex-M3 STM2021. 2. 4. 13:43

해당예제를 조금 더 수정하면

UART1 에서 UART2로 서로 연결할 수 있겠네?

[링크 : https://riptutorial.com/stm32/example/29940/echo-application---hal-library]

 

 

UART1은 115200 UART2는 9600인데 크게 문제 없이 잘 되는 듯?

char byte;
char byte3;
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
  if (huart->Instance == USART1)
  {
    /* Transmit one byte with 100 ms timeout */
    HAL_UART_Transmit(&huart3, &byte, 1, 100);

    /* Receive one byte in interrupt mode */
    HAL_UART_Receive_IT(&huart1, &byte, 1);
  }

  if (huart->Instance == USART3)
  {
    /* Transmit one byte with 100 ms timeout */
    HAL_UART_Transmit(&huart1, &byte3, 1, 100);

    /* Receive one byte in interrupt mode */
    HAL_UART_Receive_IT(&huart3, &byte3, 1);
  }
}


int main(void)
{
  HAL_UART_Receive_IT(&huart1, &byte, 1);
  HAL_UART_Receive_IT(&huart3, &byte3, 1);

  while (1)
  {

  }
}

 

 

'embeded > Cortex-M3 STM' 카테고리의 다른 글

stm32 RST pull-up reset fail  (0) 2021.08.02
STM32 RDP(ReaD Protection)  (0) 2021.07.02
STM32CubeIDE / HAL register callbacks  (0) 2021.02.03
STM32CubeIDE 주의사항(?)  (0) 2021.02.02
STM32F103 관련 용어  (0) 2021.02.02
Posted by 구차니
embeded/Cortex-M3 STM2021. 2. 3. 16:06

STM32CubeIDE의 경우 ioc 파일을 수정하면 코드를 재성성하는데

소스내의 헤더들도 당연히(?) 재생성 되니 계속 원복 되어서 분노 폭발(!)

 

열심히 뒤적여 보니 uart callback 관련해서는

stm32f1xx_hal_conf.h 의 아래 부분 설정은

/* ########################### System Configuration ######################### */
/**
  * @brief This is the HAL system configuration section
  */
#define  VDD_VALUE                    3300U /*!< Value of VDD in mv */
#define  TICK_INT_PRIORITY            0U    /*!< tick interrupt priority (lowest by default)  */
#define  USE_RTOS                     0U
#define  PREFETCH_ENABLE              1U

#define  USE_HAL_ADC_REGISTER_CALLBACKS         0U /* ADC register callback disabled       */
#define  USE_HAL_CAN_REGISTER_CALLBACKS         0U /* CAN register callback disabled       */
#define  USE_HAL_CEC_REGISTER_CALLBACKS         0U /* CEC register callback disabled       */
#define  USE_HAL_DAC_REGISTER_CALLBACKS         0U /* DAC register callback disabled       */
#define  USE_HAL_ETH_REGISTER_CALLBACKS         0U /* ETH register callback disabled       */
#define  USE_HAL_HCD_REGISTER_CALLBACKS         0U /* HCD register callback disabled       */
#define  USE_HAL_I2C_REGISTER_CALLBACKS         0U /* I2C register callback disabled       */
#define  USE_HAL_I2S_REGISTER_CALLBACKS         0U /* I2S register callback disabled       */
#define  USE_HAL_MMC_REGISTER_CALLBACKS         0U /* MMC register callback disabled       */
#define  USE_HAL_NAND_REGISTER_CALLBACKS        0U /* NAND register callback disabled      */
#define  USE_HAL_NOR_REGISTER_CALLBACKS         0U /* NOR register callback disabled       */
#define  USE_HAL_PCCARD_REGISTER_CALLBACKS      0U /* PCCARD register callback disabled    */
#define  USE_HAL_PCD_REGISTER_CALLBACKS         0U /* PCD register callback disabled       */
#define  USE_HAL_RTC_REGISTER_CALLBACKS         0U /* RTC register callback disabled       */
#define  USE_HAL_SD_REGISTER_CALLBACKS          0U /* SD register callback disabled        */
#define  USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0U /* SMARTCARD register callback disabled */
#define  USE_HAL_IRDA_REGISTER_CALLBACKS        0U /* IRDA register callback disabled      */
#define  USE_HAL_SRAM_REGISTER_CALLBACKS        0U /* SRAM register callback disabled      */
#define  USE_HAL_SPI_REGISTER_CALLBACKS         0U /* SPI register callback disabled       */
#define  USE_HAL_TIM_REGISTER_CALLBACKS         0U /* TIM register callback disabled       */
#define  USE_HAL_UART_REGISTER_CALLBACKS        1U /* UART register callback enabled      */
#define  USE_HAL_USART_REGISTER_CALLBACKS       0U /* USART register callback disabled     */
#define  USE_HAL_WWDG_REGISTER_CALLBACKS        0U /* WWDG register callback disabled      */

 

STM32CubeIDE의 ioc / Project Manager - Advanced Settings - Register Callbacks

(오른쪽 구석탱이...)을 Enable로 바꾸어 주면 된다.

 

연관이 있는 링크인진 모르겠음 ㅋㅋ

[링크 : https://www.st.com/.../dm00154093-description-of-stm32f1-hal-and-lowlayer-drivers-stmicroelectronics.pdf]

 

 

+

나도 어느걸 보다가 저걸 발견했는진 모르겠다 -_-

소스 뒤적여서 추적하다가 발견한건가..

 

[링크 : https://mul-ku.tistory.com/entry/STM32-UART-수신-인터럽트-사용법-및-간단한-예제HAL-DRIVER]

[링크 : https://community.st.com/s/question/0D53W000000bRmkSAE/stm32-uart-call-back-function]

[링크 : https://dkeemin.com/stm32f0-uart-수신-인터럽트-코드-작성하기/]

'embeded > Cortex-M3 STM' 카테고리의 다른 글

STM32 RDP(ReaD Protection)  (0) 2021.07.02
stm32 uart echo  (0) 2021.02.04
STM32CubeIDE 주의사항(?)  (0) 2021.02.02
STM32F103 관련 용어  (0) 2021.02.02
CMSIS for stm32  (0) 2018.02.12
Posted by 구차니

요 근래 업데이트가 되었는지

탭이 이상하게 나온다 -_-

오히려 한 화면에 보이는 양이 적어지는 느낌..

이전 설정으로 바꾸려고 부랴부랴 찾아봄

chrome://flags

페이지에서 tab 으로 검색해서 대충 disable / 재시작

 

[링크 : http://www.wetrend.co.kr/board/view?board_name=wit_board&wr_id=1308630]

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

카카오톡 대화내용 옮기기  (0) 2021.02.07
v50s 색감이..  (0) 2021.02.06
hifi quad dac?  (0) 2021.01.25
LG 핸드폰 접는건가?!  (0) 2021.01.20
MMS가 안가서 검색을 해보니  (2) 2021.01.15
Posted by 구차니