Knowhow 85

Tensorboard를 이용한 pb 파일 시각화

종종 사전 학습된 딥러닝 모델을 불러와서 사용할 때 ckpt, pb, pth, pbtxt 등 다양한 확장자명을 볼 수 있는데 이중 .pb 확장자를 갖는 모델에 대한 글이다. .pb 파일이란? pb는 protocol buffer를 줄인 말로 protobuf라고도 부른다. 깊게 알 필요없이 pb는 데이터를 serialize하는 방식 중 하나인데 간단히 binary로 바꿔서 통신에 유리하도록 하는 방법이라고 보면 되겠다. 하나 기억해야 될 것은 serialize한 데이터의 구조도 같이 저장한다는 것이다. 위키피디아의 말을 빌리면 다음과 같이 설명하고 있다. Protocol Buffers (Protobuf) is a method of serializing structured data. It is useful i..

Knowhow/Vision 2023.02.03

[ROS2 Foxy Tutorial 한글 번역] 11. Using colcon to build packages

Link https://docs.ros.org/en/foxy/Tutorials/Beginner-Client-Libraries/Colcon-Tutorial.html Background colcon은 catkin_make, catkin_make_isolated, catkin_tool, ament_tools을 모아둔 build 도구 모음라고 생각하면 된다. (catkin이나 ament는 버드나무라는 뜻인데 ROS 개발자가 뒷뜰에 있는 버드나무를 보고 build 도구에 이름을 붙인 것일 뿐 특별한 뜻은 없다. 그냥 cmake, make 같은 build 도구라고 보면 되겠다.) Prerequisites Install colcon sudo apt install python3-colcon-common-extensio..

Knowhow/ROS2 2023.02.03

[ROS2 Foxy Tutorial 한글 번역] 5. Understanding services

Link https://docs.ros.org/en/foxy/Tutorials/Beginner-CLI-Tools/Understanding-ROS2-Services/Understanding-ROS2-Services.html Understanding services — ROS 2 Documentation: Foxy documentation Goal: Learn about services in ROS 2 using command line tools. docs.ros.org Background 서비스는 ROS graph에서 노드 간의 또 다른 소통 방식이다. 서비스는 기본적으로 call-and-response 모델 즉, 부르면 응답한다는 모델로 토픽 모델과는 차이가 있다. 토픽은 모든 노드들이 스트리밍되는 데이..

Knowhow/ROS2 2023.02.01