Jupyter Notebook over SSH
2022. 8. 12. 11:00
컴퓨터/Cloud, Server
conda activate romp-env # 만들어둔 conda 환경 활성화 conda install jupyter jupyter notebook --generate-config # ~/.jupyter/jupyter_notebook_config.py 생성됨 아래와 같이 수정 jupyter notebook --port=9000 --config jupyter_notebook_config.py --no-browser & ssh -N -f -L 8888:localhost:9000 bernice@ 그 다음 로컬 브라우저에서 localhost:8888 접속 jupyter notebook list token= 뒤 내용 입력
모델 fbx 파일로 export 할 때 texture(materials) 사라지는 문제
2022. 8. 12. 10:57
기타 공부/블렌더
.blend 파일로 전달받은 모델을 fbx 로 export export한 fbx 파일을 import 했을 때 아래와 같이 material 정보가 사라지는 문제가 있음 이곳 영상 참고했을 때 경로 문제일 가능성 있음 따라서 export 할 때 아래와 같이 설정을 바꿔야 함 (1) 우측 path mode 에서 copy 로 설정 (2) 그 다음 선택박스 오른쪽 상자모양을 클릭하여 embed textures (3) export 위와 같이 export한 fbx 파일을 import 하면 텍스처가 잘 불러와짐
Blender 시작하기
2022. 8. 12. 10:54
기타 공부/블렌더
[터미널에서 블렌더 실행] 터미널에서 블렌더 실행, 출력 내용 확인 가능 /Applications/Blender.app/Contents/MacOS/Blender [블렌더에 파이썬 팩키지 설치] 방법1. 팩키지 설치 스크립트 작성 터미널에서 블랜더로 설치 Blender --python install.py 방법2. blender 내부 파이썬에서 pip 로 joblib 설치 /Applications/Blender.app/Contents/Resources/2.93/python/bin/python3.9 /Applications/Blender.app/Contents/Resources/2.93/python/lib/python3.9/site-packages/pip install joblib Fatal Python er..
AWS 시작하기
2022. 8. 12. 10:43
컴퓨터/Cloud, Server
AWS 관리콘솔에 접속하기 : AWS 관리콘솔 > 모든 서비스 > 컴퓨팅 > EC2 [오른쪽 상단 리전 설정] 주로 오레곤 or 오하이오 서울의 ‘cvat-tool’은 레이블링하는 서버 .. [EC2] 원격으로 컴퓨터를 키고 끄는 것이라고 생각하면 됨. 미리 설정한 이미지대로 실행됨. AWS에서 미리 준비한 딥러닝 AMI를 쓰고 있음. conda 기반 환경이라고 함. 필요한 팩키지만 더 설치해서 바로 쓰는 식. 참고 : https://aws.amazon.com/ko/machine-learning/amis/ Deep Learning AMI - Amazon Web Services AWS Deep Learning AMI는 기계 학습 담당자 및 연구원에게 규모와 관계없이 클라우드에서 딥 러닝을 가속화할 수 있는..
Face Alignment
2022. 8. 12. 10:40
인공지능/computer vision
[기대되는 실행 내용] psp 인코더에 입력하기에 좋은 형태로 얼굴을 align 변환된 얼굴을 기존 얼굴 각도로 synthesis align 하는 과정에서 나오는 각도 정보를 저장하여 합성 시에 적용 [참고 코드] stylegan2/align_images.py at master · justinpinkney/stylegan2 toonify/toonify-yourself.ipynb at master · justinpinkney/toonify [colab demo] %tensorflow_version 1.x git clone https://github.com/justinpinkney/stylegan2 %cd stylegan2 mkdir raw mkdir aligned # !wget https://images...
Audio Reactive styleGAN (pending)
2022. 8. 12. 10:28
인공지능/computer vision
git clone & run docker container & requirements git clone https://github.com/JCBrouwer/maua-stylegan2 NV_GPU=1 nvidia-docker run --name bernice-audio-reactive -it -v $(pwd):/workspace -v $(readlink -f disk1):/disk1 nvcr.io/nvidia/pytorch:21.09-py3 /bin/bash pip install -r requirements.txt 2. get the sources James Blake - CMYK https://loader.to/ko24/youtube-wav-converter.html YouTube MP3 Playlist..
GAN실험 - Inversion of Input Images
2022. 8. 12. 10:08
인공지능/computer vision
[GAN inversion] vi image_inversion.py mkdir noise python image_inversion.py --resolution 256 --src_im human01.jpg --src_dir /disk1/human_examples/ --save_dir /disk1/human_examples --weight_file /disk1/zzalgun/pretrained_models/ffhq_256_rosinality.pt vi image_inversion.py mkdir noise python image_inversion.py --resolution 256 --src_im human01.jpg --src_dir /disk1/human_examples/ --save_dir /disk1..
emoji crawling
2022. 8. 12. 10:00
컴퓨터/python
🤦♀️ People & Body Emojis url = 'https://emojigraph.org/people-body' response = requests.get(url).text.encode('utf-8') response = BeautifulSoup(response, 'html.parser') div_contents = response.find('h2', text='Person').findParent() big_urls = [] for link in div_contents.findAll('a'): tail = str(link.get('href')) big_urls.append('https://emojigraph.org'+tail) small_urls = [] for l in range(len(bi..