전체 글

전체 글

    우분투 20.04에서 Pytorch 설치

    그래픽 카드로 드라이버를 검색하여서 다운로드 받을 수 있다 내 그래픽 카드가 뭐였는지 가물가물 하면 sudo lspci -v | less 이런 걸로 찾아 볼 수 있긴한데 (요 VGA compatible controller 뒤에 있는 [ ] 안에 있는거) https://www.nvidia.com/Download/index.aspx?lang=kr Download the latest official NVIDIA drivers Download the latest official NVIDIA drivers www.nvidia.com 요 위에 사이트로 가서 제품 누르고 찾으면 된다 귀찮으니깐 다음 명령어 sudo ubuntu-drivers devices 뭔지 모를 땐 추천 ..

    [Robotics] Collabot 현업(12) [우분투 & 핸드폰 블루투스로 통신]

    앞에 포스팅 https://aisj.tistory.com/174 [Robotics] Collabot 현업(9) [라즈베리파이3에 ROS 설치 (Kinetic)] 사용하는 어플이 https://appinventor.mit.edu/ MIT App Inventor An Overview of the App Inventor Sources -- Components Read about how the App Inventor sources are structured in this series of blog posts. This week we discuss the App Inventor components aisj.tistory.com 에서 말했듯이 아래의 사이트 https://appinventor.mit.edu/ MIT..

    [Robotics] Collabot 현업(11) [라즈베리파이3에 ROS 설치 (Kinetic)]

    사용하는 어플이 https://appinventor.mit.edu/ MIT App Inventor An Overview of the App Inventor Sources -- Components Read about how the App Inventor sources are structured in this series of blog posts. This week we discuss the App Inventor components module. More appinventor.mit.edu 여기를 통해 만든 블루투스 어플이기 때문에 어쩔 수 없이 블루투스를 이용하여서 정보를 받고 받은 정보를 ROS를 통해서 Publish를 하고자 한다 (어플단을 건드리기 싫어서) 하지만 여기서 검색을 해보니 PC는 soc..

    [Robotics] Collabot 현업(10) [파이썬 버전관리]

    분명히 내 데스크탑에서는 잘 돌아가던 코드가 이상하게 노트북으로만 옮기면 catkin_make가 안되는 현상을 마주하였다 혹시하고 파이썬 버전을 확인해보니 python -V 2.7 이였다 좀 오래 전 부터 쓰던 컴퓨터여서 이걸 그냥 3.8로 무지성 업그레이드 했다가 다른 오류들이 많이 떠서 원할 때 맞는 버전으로 바꾸는 방법을 찾아봤다 먼저 설치된 python들을 확인해주고 ls usr/bin/ | grep python 이 중에 python 3.8로 바꾸는 것을 목표로 하자 하지만 2.7도 필요하기 때문에 다음과 같이 sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 sudo update-alternatives -..

    [Robotics] Collabot 현업(6) [rosbag을 이용한 개발]

    현재 azure를 이용하여서 사람의 키 인식하는 task를 수행하고 있는데 매번 코드 돌릴 때마다 가서 카메라 앞에 흔드는 것도 귀찮기도 하고 환경설정 등의 이슈가 있기 때문에 녹화 같은 기능을 하는 rosbag을 이용하고자 한다 rosbag이란 ROS topic을 저장하고 다시 재생할 수 있는 도구이다 당연히 서버가 열려야 하므로 roscore 를 돌리고 rosbag record -a rosbag record -all 를 통해 토픽들을 기록 할 수 있다 만약 특정 토팍을 지정해서 저장하고 싶으면 rosbag record 이렇게 저장하면 된다 bag파일의 이름 또한 지정해 줄 수 있는데 아래에 있는 코드 둘 중에 하나를 사용해 주면 된다 rosbag record -O rosbag record --outp..

    [Paper] Multi-Concept Customization of Text-to-Image Diffusion

    요약 Text-to-Image Diffusion 모델에 Customize를 해주겠다 이 논문 좀 특이한게 초장부터 사진질임 Figure 1. Given a few images of a new concept, our method augments a pre-trained text-to-image diffusion model, enabling new generations of the concept in unseen contexts 새로운 사진 몇장으로 기존 Pre-trained text-to-image diffusion model 이 기존에 없던 context를 만들어낸 것이랍니다 Furthermore, we propose a method for composing multiple new concepts tog..

    우분투로 클램쉘 모드 설정 (노트북 닫고 모니터 연결)

    클램쉘 모드는 노트북을 덮어도 실행이 되도록 하는 설정이다 주로 서버 컴퓨터로 사용할 때 사용하지만 본인 같은 경우는 자리가 좁고 자판을 노트북으로 치기 위태로워서 아예 모니터를 연결하고 사용하기 위헤 설정하였다 터미널을 열어서 다음의 명령어를 치고 sudo nano /etc/systemd/logind.conf 맨 아래에 HandleidSwitch=suspend 부분의 주석처리를 풀어주고 HandleidSwitch=ignore로 바꾸면 된다 nano 편집기로 열은 경우 ctrl +s (저장) ctrl+x (닫기) 하면 된다 그다음 systemd-logind를 재시작 해준다면 systemctl restart systemd-logind 이렇게 노트북 세팅이 가능하다

    [Generative] Diffusion에 관하여

    관련 논문 : Denoising Diffusion Probabilistic Models https://arxiv.org/pdf/2006.11239.pdf Diffusion 모델이란 데이터를 만들어내는 Deep generative model 중 하나이다 두가지 Process를 활용하는데 Forward Process (Diffusion Process) : data로부터 noise를 조금씩 더해가면서 data를 완전한 noise로 만드는 process Reverse Process : noise를 조금씩 복원해가면서 data를 만들어내는 것 내용 이해를 위해서는 아래의 개념을 알아야 한다 Markov Chain Markov Chain 은 간단하게 말해서 어떤 상태에서 다른 상태로 넘어갈 때, 바로 전 단계의 상..