Setting up git auto-login in Visual Studio Code

   ## setting command git config --global credential.helper store  

mp4, H.264 play error on rocky linux

   ## download H.264 dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm dnf install --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-8.noarch.rpm dnf config-manager --enable powertools dnf groupupdate core dnf groupupdate multimedia --setop="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin dnf groupupdate sound-and-video

install tensorflow-gpu on rocky linux

  ## download cudnn https://developer.nvidia.com/rdp/cudnn-download $ tar -xvf cudnn-linux-x86_64-8.x.x.x_cudaX.Y-archive.tar.xz $ sudo cp cudnn-*-archive/include/cudnn*.h /usr/local/cuda/include $ sudo cp -P cudnn-*-archive/lib/libcudnn* /usr/local/cuda/lib64 $ sudo chmod a+r /usr/local/cuda/include/cudnn*.h /usr/local/cuda/lib64/libcudnn*

min, max button on rocky gnome

이미지
  ## gnome tweak tools gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"

gnome extension list

## install applications menu dnf install epel-release dnf group info "Server with GUI" dnf group install "Server with GUI" dnf install gdm gnome-shell gnome-terminal dnf -y install gnome-shell-extension-places-menu dnf -y install gnome-shell-extension-window-list dnf -y install gnome-shell-extension-drive-menu dnf -y install gnome-shell-extension-windowsNavigator dnf -y install gnome-shell-extension-appindicator dnf -y install gnome-desktop3 dnf -y install gnome-menus dnf -y install gnome-control-center dnf -y install gnome-system-monitor dnf -y install nautilus

start with kde on rocky linux

## install kde dnf install epel-release dnf --enablerepo=epel group dnf config-manager --set-enabled powertools dnf groupinstall "KDE Plasma Workspaces" "base-x" echo "exec /usr/bin/startkde" >> ~/.xinitrc sudo systemctl set-default graphical ## start kde $ echo "startkde" > ~/.Xclients $ chmod a+x ~/.Xclients  

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

## python error (a1) [root@localhost Autonomous-Vehicle-Environment-Perception]# python main.py --video test.mov Yolo model loaded! CULane model loaded! Downloading: "https://download.pytorch.org/models/resnet18-f37072fd.pth" to /root/.cache/torch/hub/checkpoints/resnet18-f37072fd.pth 100%|████████████████████████████████████████████████████████████████████████████████████| 44.7M/44.7M [00:00<00:00, 70.5MB/s] SGD model loaded! Sign Detection model loaded! resize False rotate False Traceback (most recent call last): File "main.py", line 101, in <module> yoloOutput = detector.detect(frame) File "/root/yolo/Autonomous-Vehicle-Environment-Perception/elements/yolo.py", line 46, in detect pred = self.yolo_model(img, augment=False)[0] File "/root/anaconda3/envs/a1/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl return forward_call(*input, **kwargs) File "/root/yolo/Autonomous-Vehicle...