전체 글
-
Litmus Chaos 튜토리얼 따라하기카테고리 없음 2024. 8. 2. 22:48
오픈소스 컨트리뷰션 1주차 minikube & kubectl 설치 및 사용방법minikubeminikube는 가벼운 쿠버네티스 구현체로 쿠버네티스 연습용으로 유용하게 사용할 수 있다.설치링크를 통해 설치하면 설치는 완료된다.minikube status 를 통해서 minikube의 상태를 확인할 수 있다. minikube start 를 통해서 minikube를 시작할 수 있다.그전에 해야할 일은 CPU와 Memory 설정값을 변경해야한다. 기본값으로 설정된 CPU와 Memory를 사용하면microservices-demo를 배포하는 도중 CPU가 부족하여 배포에 실패하거나chaos 실험 도중 Memory가 부족하여 정상적으로 실험이 진행이 안되는 상황이 발생하였다. minikube config set c..
-
Docker 환경에서 torch install시 process killed카테고리 없음 2024. 6. 15. 18:14
YOLOv5와 FastAPI를 사용한 프로젝트를 Docker Image Build 도중 에러 발생에러 상황Cannot install nvidia-cufft-cu12.ERROR: failed to solve: process "/bin/sh -c pip install poetry==1.8.3 && poetry install" did not complete successfully: exit code: 137 exit code 137은 OOM(Out Of Memory)가 발생했다는 뜻이며 종합해보면 poetry로 dependency를 install하는 과정에서 OOM이 발생했으며 nvidia관련 패키지를 설치하다 OOM이 발생한 것으로 추정된다. nvidia 관련 패키지를 설치하는 이유는 pytorch hub에..
-
Non-Functional requirements - Architectural Drivers (2)카테고리 없음 2024. 5. 20. 19:52
Requirements의 종류(Architectural Drivers)Functional requirements : 시스템의 기능을 정의Non-Functional requirements System Quality Attributes : 소프트웨어 품질에 대해서 정의System Constraints : 프로젝트 중 제약사항에 대해서 정의System Quality Attributes시스템이 품질을 유지할 수 있는지, 특정 측면에서 설명한다. 품질 속성은 기능적 요구사항과 다르게 시스템을 나타내지는 않는다. 시스템 품질의 범위로는 두 가지 경우가 있다.시스템 전체에 적용되는 요구사항 ex) 온라인 쇼핑몰은 99.9%의 시간을 사용할 수 있어야한다. 특정 기능에만 적용되는 요구사항 ex) 사용자가 검색버튼을 누..
-
Functional requirements - Architectural Drivers (1)카테고리 없음 2024. 5. 19. 22:11
Requirements의 종류 (Architectural Drivers)Functional requirements : 시스템의 기능을 정의Non-Functional requirementsSystem Quality Attributes : 소프트웨어 품질에 대해서 정의System Constraints : 프로젝트 중 제약사항에 대해서 정의Functional requirements입력(Input)이 시스템을 거쳐 출력(Output)으로 나오는 과정을 기술 입력의 종류에는 User Action, Event가 있다. 사용자가 파일을 업로드하면 다른 사용자에게 공유할 수 있는 링크가 생성되고, 그 링크를 소유한 사용자라면 누구든 해당 파일을 다운로드할 수 있어야 합니다. 위 기능적 요구사항에서 입력은 "사용자가 파..
-
Software Architecture란?카테고리 없음 2024. 5. 19. 19:52
Software Architecture의 의도, 동기시스템의 구조는 제작의도(intent)와 퀄리티(quality)를 나타낸다.최적으로 설계하지 않은 아키텍처는 다시 설계하는데 많은 시간이 걸린다. Software Architecture의 정의The software architecture of a system is a high-level description of the system's structure, its different components, and how those components communicate with each other to fulfill the systems' requirements and constraints 1. 시스템의 소프트웨어 아키텍처는 높은 수준의 추상화를 가진다. ..
-
YOLOv4 & Deepsort로 Object Tracking 하기카테고리 없음 2024. 5. 10. 10:56
프로젝트 환경 설정가상환경 설정에는 두 가지 방법이 존재한다. - Virtual Env (venv)python -m venv yolov4-cpu source yolov4-cpu/Scripts/activate pip install -r requirement.txt - Conda# Tensorflow CPU conda env create -f conda-cpu.yml conda activate yolov4-cpu YOLOv4 Tiny Weights 다운로드https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights Object Tracking 과정 인공지능을 크게 학습(Training)과 예측(Infe..
-
TestEngine with ID 'junit-jupiter' failed to discover tests 에러카테고리 없음 2024. 1. 5. 23:37
Junit5 버전으로 테스트 코드를 실행하는 과정에서 다음과 같은 에러가 발생 Internal Error occurred. org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to discover tests ... Caused by: java.lang.NoClassDefFoundError: org/junit/jupiter/api/io/CleanupMode ... 8 more Caused by: java.lang.ClassNotFoundException: org.junit.jupiter.api.io.CleanupMode ... 10 more 프로젝트 설정은 JDK17 / Kotiln / Maven 으로 구성..
-
CUDA를 이용한 병렬 프로그래밍 (1)카테고리 없음 2023. 12. 28. 22:47
CUDA? a parallel computing platform and application programming interface(API), GPGPU CUDA는 C, C++, Python 등과 같은 언어에서 GPU로 연산을 할 수 있게 해주는 일종의 Code Extension이다. GPGPU? 일반적으로 GPU에서 컴퓨터 그래픽스 관련 작업만 처리했지만 CPU에서 주로 처리했던 응용 프로그램의 계산에 사용하는 기술 Example: Hello World #include __global__ void hello_world(void) { printf("Hello World\n"); } int main (void) { hello_world(); cudaDeviceReset(); return 0; } __glo..