일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Tkinter
- 장고
- 딥러닝
- Python
- 텐서플로우
- Web Programming
- 파이썬
- Django
- FLASK
- 웹 프로그래밍
- Deep Learning
- 컴퓨터 비전
- 그래픽 유저 인터페이스
- vue.js
- yaml
- 파이토치
- GUI
- OpenCV
- pytorch
- tensorflow
- 논문 리뷰
- MariaDB
- Computer Vision
- POD
- 데이터베이스
- numpy
- k8s
- paper review
- kubernetes
- Docker
- Today
- Total
목록전체 글 (103)
Maxima's Lab

안녕하세요, 오늘은 Tkinter 모듈을 사용하여, 지정된 경로에 이미지를 실시간으로 감지(Detect), 로드(Load)하고 시각화(Visualize)하는 방법에 대해서 알아보도록 하겠습니다. 위의 방법에 대한 전체 코드는 다음과 같습니다. import os import tkinter as tk from PIL import Image, ImageTk class ImageLoader(tk.Frame): def __init__(self, master=None, path=None): super().__init__(master) self.master = master self.path = path self.image = None self.label = tk.Label(self.master) self.label...

안녕하세요, 오늘은 Attention U-Net: Learning Where to Look for the Pancreas (https://arxiv.org/pdf/1804.03999.pdf) 위 논문에 대해서 리뷰를 해보도록 하겠습니다. 먼저 Attention U-Net의 전체 구조는 다음과 같습니다. Attention U-Net 모델은 U-Net 아키텍처를 기반으로 하면서, Decoder에서 Attention 메커니즘을 사용하여 성능을 향상시킨 딥러닝 모델입니다. U-Net 모델은 Encoder와 Decoder로 구성되어 있으며, 인코더에서는 이미지를 축소해가며 특성을 추출하고, Decoder에서는 이러한 특성을 기반으로 이미지를 확대하여 Segmentation Mask를 생성합니다. Attention..
안녕하세요, 오늘은 "Free-Form Image Inpainting with Gated Convolution" (https://arxiv.org/pdf/1806.03589.pdf) 위 논문에 대해서 리뷰를 해보도록 하겠습니다. 해당 논문은 이전의 Inpainting 기술에서 보완해야 할 몇가지 문제점을 해결하기 위해 Gated Convolution Neural Network를 사용합니다. 논문에 대한 전반적인 내용들은 다음과 같습니다. 기존의 Inpainting 기술의 문제점 분석 및 Gated Convolution Neural Network의 개념과 작동 방식을 소개하며, Free-From Image Inpainting 모델의 구조와 학습 방법에 대해 상세히 설명합니다. 해당 모델은 Input Ima..
오늘은 Tensorflow 2 모델(.h5)을 .onnx 모델로 변환하는 방법에 대해서 알아보도록 하겠습니다. import tensorflow as tf from tensorflow.keras.models import load_model model = load_model("model.h5") 먼저, .h5 모델을 로드 합니다. 이어서 .onnx 파일로 변환하기 위해 tf2onnx 패키지를 설치합니다. pip install -U tf2onnx 패키지를 설치 후 다음 명령어를 통해 .onnx 모델로 변환합니다. python -m tf2onnx.convert --input model.h5 --output model.onnx --opset 13 위의 명령어에서 Opset은 ONNX에서 지원하는 연산의 집합을 의..
오늘은 Template Matching (템플릿 매칭, .cu 파일)을 구현하는 방법에 대해서 알아보도록 하겠습니다. 전체 코드는 다음과 같습니다. #include #include #include #include #include __global__ void template_matching_kernel(const usigned char* img, const unsigned char* tpl, int img_width, int tpl_width, int tpl_height, float* output) { int x = blockIdx.x * blockDim.x + threadIdx.x; int y = blockIdx.y * blockDim.y + threadIdx.y; if (x>= img_width || ..

안녕하세요, 오늘은 Tkinter 모듈을 사용하여, Toplevel을 활용한 Multiple Windows를 생성하는 방법에 대해서 알아보도록 하겠습니다. 다음과 같이, main.py 파일을 구성하였습니다. import tkinter as tk import tkinter.ttk as ttk import sub_main class Mainform(): def __init__(self): self.main_win = tk.Tk() self.main_win.title("Maxima") self.main_win.geometry("1000x800+200+200") self.make_widgets() def execute_sub_main(self): self.sub_main = sub_main.SubMainForm..
안녕하세요, 오늘은 Django 내 Database (데이터 베이스)를 구축 및 연동하고 Shell을 사용하는 방법에 대해서 알아보겠습니다. 구현하기 위한 순차적인 절차는 다음과 같습니다. app 생성 (EX) App Name : "Appsample" & app 연동 Check "Appsample" directory 내 models.py & views.py & admin.py 파일 Check "models.py" 파일 내 다음과 같이 구성해줍니다. from django.db import models #Create your models here. class Modelpractice(models.Model): Element_one = models.CharField(max_length=200) Element_..
안녕하세요, 오늘은 Django Project 내 App과 관리자를 생성하는 방법에 대해서 알아보겠습니다. 먼저, Project가 생성된 Directory로 이동시켜줍니다. cd Project_1 해당 Project_1 경로로 이동 후 다음 코드를 통해 App을 생성 시켜줍니다. django-admin startapp app_1 위의 코드를 실행하면, Project 디렉토리 내 app_1 이라는 폴더가 생성됩니다. 해당 폴더 내 apps.py 파일 내 다음과 같은 코드를 확인할 수 있습니다. from django.apps import AppConfig class App1Config(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name..