본문 바로가기

분류 전체보기134

DETECTRON2 데이터셋 비교 if len(tensors) == 1: # This seems slightly (2%) faster. # TODO: check whether it's faster for multiple images as well image_size = image_sizes[0] u0 = max_size[-1] - image_size[1] u1 = max_size[-2] - image_size[0] padding_size = [0, u0, 0, u1] if not torch.jit.is_scripting(): if min_torch_version("2.6.0".. 2025. 11. 6.
DiffusionDet 뿌시기 (Deep Dive) 정확한 디버깅을 위해서 먼저 프로그램 (코드) 를 돌려보기로 한다. 참고 : https://github.com/ShoufaChen/DiffusionDet 0. 도커 세팅 # 베이스 이미지FROM pytorch/pytorch:2.4.0-cuda12.4-cudnn9-devel# 필수 패키지 설치RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ git \ nano \ wget \ libgl1-mesa-glx \ libglib2.0-0 \ libxcb-xinerama0-dev \ && rm -rf /var/lib/apt/lists/* 1. 깃 클론git clone https://github.com.. 2025. 10. 30.
Qwen2.5VL 로 이미지 묘사하기 from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessorfrom qwen_vl_utils import process_vision_info# default: Load the model on the available device(s)model = Qwen2_5_VLForConditionalGeneration.from_pretrained( "Qwen/Qwen2.5-VL-3B-Instruct", torch_dtype="auto", device_map="auto")# default processerprocessor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B.. 2025. 9. 11.
[Docker Window] LayoutFlow 실행해보기 일단 다음 깃 레포를 확인한다. https://github.com/JulianGuerreiro/LayoutFlow GitHub - JulianGuerreiro/LayoutFlow: LayoutFlow: Flow Matching for Layout Generation [Andrade Guerreiro et al., ECCV 2024]LayoutFlow: Flow Matching for Layout Generation [Andrade Guerreiro et al., ECCV 2024] - JulianGuerreiro/LayoutFlowgithub.com 여기서 다음과 같은 정보를 알 수 있다. 호호 그럼 docker hub 에서 cuda12.4, pytorch2.2.2 찾아보자.그런데 없는데...?htt.. 2025. 9. 1.
mmdetection3 docker 사용해보기 https://mmcv.readthedocs.io/en/latest/get_started/installation.html위 사이트에서 version 에 맞는 torch 및 mmcv 를 확인하고 이에 맞는 도커 설정 이후 다음을 확인함 1. docker pull (V)docker pull pytorch/pytorch:2.1.0-cuda11.8-cudnn8-devel 2. docker run (V)docker run -itd --gpus all --restart always --name mm_gdino pytorch/pytorch:2.1.0-cuda11.8-cudnn8-devel /bin/bash 3. docker attach (V)docker attach mm_gdino 4. pakage installa.. 2025. 7. 12.
[Docker] OV-DINO 데모 실행 (docker이용) OV-DINO 데모 돌려보기 도커를 받아서 그 안에서 OV-DINO 를 돌려보겠습니다. 깃헙 링크https://github.com/wanghao9610/OV-DINO GitHub - wanghao9610/OV-DINO: Official implementation of OV-DINO: Unified Open-Vocabulary Detection with Language-Aware SelectivOfficial implementation of OV-DINO: Unified Open-Vocabulary Detection with Language-Aware Selective Fusion - wanghao9610/OV-DINOgithub.com 깃 레포에서 cuda 11.6 을 사용한다 하니 따르겠습니다. 1.. 2025. 7. 10.