This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ros2 bag record /camera/image/compressed | |
| import os | |
| import cv2 | |
| import numpy as np | |
| from rclpy.serialization import deserialize_message | |
| from rosbag2_py import SequentialReader, StorageOptions, ConverterOptions | |
| from sensor_msgs.msg import CompressedImage | |
| # ===== config ===== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install SharpKeys https://apps.microsoft.com/detail/xpffcg7m673d4f?hl=en-US&gl=EG | |
| Caps -> Esc | |
| Esc -> Caps | |
| Left Alt -> Left ctrl | |
| Left Ctrl -> Left Alt | |
| Right Alt -> Del | |
| 2. Power Toys > Keyboard Manager | |
| Ctrl (left) esc -> Win Esc (and remap it in vscode to make it unfocus from notebook) | |
| ctrl (left) Alt -> Alt (left) F4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| conda create -n multimodal python=3.11 -y | |
| conda activate multimodal | |
| # PyTorch CPU build (official channel) | |
| conda install pytorch=2.6 torchvision=0.21 cpuonly -c pytorch -y | |
| pip install torch==2.9.1 torchvision==0.24.1 torchaudio==2.9.1 --index-url https://download.pytorch.org/whl/cpu | |
| # Native runtimes and numerical libs from conda-forge | |
| conda install -c conda-forge onnxruntime numpy matplotlib git-lfs -y | |
| conda install -c conda-forge albumentations |