發表文章

目前顯示的是 2024的文章

Run Yolov10 on Jetson AGX Orin with TensorRT

Create a virtual environment using anaconda $ conda create -n yolov10 python=3.8 ( not python3.9 ) $ conda activate yolov10 $ pip install -r requirements.txt ( without torch, torchvision, onnxruntime-gpu ) Do not do this $ pip install -e . Which will install torch, torchvision again... Install pre-built PyTorch pip wheel  Download one of the PyTorch binaries for your version of JetPack[2]. I downloaded  torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl since my JetPack version is 5.1.2 (L4T R35.4.1) $ sudo apt-get -y update $ sudo apt-get install python3-pip libopenblas-base libopenmpi-dev libomp-dev $ pip3 install 'Cython<3' $ export TORCH_INSTALL=~/Downloads/torch-2.1.0a0+41361538.nv23.06-cp38-cp38-linux_aarch64.whl  $ pip3 install numpy $ pip3 install --no-cache $TORCH_INSTALL Install corresponding torchvision $ pip uninstall torchvision ultralytics (Optional) $ sudo apt-get install libjpeg-dev zlib1g-dev libpython3-dev libopenblas-dev libavcodec-dev libavformat

ssh to another laptop with linux system while its lid is closing

Method1: $ sudoedit /etc/systemd/logind.conf modify: HandleLidSwitch= ignore HandleLidSwitchExternalPower= ignore HandleLidSwitchDocked= ignore $ reboot Method2: $ sudoedit /etc/UPower/UPower.conf modify: IgnoreLid= true $ service upower restart [Optional] $ reboot Finally, ssh to the desired laptop, then you can close the lid !!!  Reference 1.  https://askubuntu.com/questions/15520/how-can-i-tell-ubuntu-to-do-nothing-when-i-close-my-laptop-lid

[solved] ssh: connect to host XXX.XXX.XX.XX port 22: Connection refused

$ sudo apt install openssh-server $  sudo service ssh restart