Home

OS Setup for Machine Learning

1. OS 설치(Ubuntu 20.04 LTS) Ventoy: OS image를 바꿔주는 서비스, 예를 들어 Linux 18.04를 설치했다가 20.04를 다시 설치해야할 때 OS image를 지우고 다시 까는 것이 아니라, Ventoy를 이용하면 OS 스위칭이 가능하다. 2. Disk Partition and Mountlink 3. GPU and Conda environmentlink 4 고정 아이피 설정 Gateway 주소: (일반적으로) 192.168.1.1, ip 대역대: (일반적으로) 192.168.1.0/24비트, 필자의 경우 192.168.0.229 ifconfig, ip addr: ...

Read more

GPU and Conda environment

1. [선택사항] 기기에 연결된 GPU 확인해보기 sudo lshw -C display Check GPU Hardware Connection 2. Python/Compiler/Build tool/cuDNN/CUDA 버전 확인하기 모든 패키지를 설치전에 항상 종속되는 장비의 버전을 먼저 확인해보고 들어가야 함을 주의하자. 각 라이브러리(Tensorflow or PyTorch version) 에 맞는 Python/Compiler/Build tool/cuDNN/CUDA 버전을 하단 링크를 통해 확인하고 다음으로 넘어가자. Tensorflow: https://www.te...

Read more

Disk Partition and Mount

시작하기전에 Ubuntu의 Application/Disk 를 이용하여 disk 포멧부터 시작하고 진행하였다. (필자의 경우 4TB 16시간이상이 걸렸다) Application "Disk" in Ubuntu 1. 현재 파티션 확인하기 fdisk -l df -h fdisk -l 를 이용하면 드라이브 목록을 확인할 수 있다. "fdisk -l", 할당을 마친 후의 드라이브 목록 할당되지 않은 상태에서는 sda1, 2가 차례로 있지 않았다. 저 부분을 파티션 할당을 해주면 된다. 리눅스는 보통 첫번째 드라이브가 /dev/sda1,2...

Read more

Equalizer Design using Digital Filter

Structure of cascaded IIR filters To implement digital filter in embedded device, this project is designing digital filter in Python and C for simmulation. Since the limitation of the edge device has a small computation capacity, it needs the filter application for adjusting the low-frequency band significantly below 200Hz. As a personal...

Read more

Skip-gram

All contents is arranged from CS224N contents. Please see the details to the CS224N! 1. Intro Create a model such that given the center word “jumped”, the model will be able to predict or generate the surrounding words “The”, “cat”, “over”, “the”, “puddle”. → Predicts the distribution (probability) of context words from a center w...

Read more

Negative Sampling

All contents is arranged from CS224N contents. Please see the details to the CS224N! 1. Intro It is inefficient to sample everything from the whole word dictionary. → Locally sampling only the periphery Problem: The summation over $\lvert V \lvert$ is computationally huge! Any update we do or evaluation of the objective ...

Read more

Hierarchical softmax

All contents is arranged from CS224N contents. Please see the details to the CS224N! 1. Intro In practice, hierarchical softmax tends to be better for infrequent words, while negative sampling works better for frequent words and lower-dimensional vectors. Hierarchical softmax uses a binary tree to represent all words in the vocabulary. 2...

Read more