<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://gittidev.github.io/</id><title>Boram Park</title><subtitle>Developer with a nursing background — notes on vision AI, frontend, and the problems I solved along the way.</subtitle> <updated>2026-11-11T11:28:14+09:00</updated> <author> <name>Boram Park</name> <uri>https://gittidev.github.io/</uri> </author><link rel="self" type="application/atom+xml" href="https://gittidev.github.io/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://gittidev.github.io/"/> <generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator> <rights> © 2026 Boram Park </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>안 보이는 3D 섹션이 첫 화면을 5.5fps로 만든 이유: IntersectionObserver 경계 판정과 three.js 인스턴싱 낭비</title><link href="https://gittidev.github.io/posts/intersectionobserver-threejs-instancing/" rel="alternate" type="text/html" title="안 보이는 3D 섹션이 첫 화면을 5.5fps로 만든 이유: IntersectionObserver 경계 판정과 three.js 인스턴싱 낭비" /><published>2026-11-09T12:00:00+09:00</published> <updated>2026-11-09T12:00:00+09:00</updated> <id>https://gittidev.github.io/posts/intersectionobserver-threejs-instancing/</id> <content type="text/html" src="https://gittidev.github.io/posts/intersectionobserver-threejs-instancing/" /> <author> <name>Boram Park</name> </author> <category term="Frontend" /> <category term="Troubleshooting" /> <summary>회사 웹사이트 첫 화면에 항공 촬영 영상을 넣은 날, 「다른 PC에서 화면이 멈췄다가 죽는다」는 말을 들었다. 원인은 세 겹이었다. AV1 영상 디코딩, 화면에 닿기만 한 3D 섹션을 「보임」으로 판정한 IntersectionObserver, 그리고 빈 큐브까지 매 프레임 그리던 three.js 장면이다. AV1을 빼고, 판정 영역을 2px 줄이고, 3D는 「일을 안 하는」 쪽으로 고쳤다. 약한 PC 흉내 환경에서 첫 화면은 5.5 → 60fps, 3D 섹션은 4.3 → 16.9fps가 됐다. 페이지 구조 flowchart TB H["히어로&amp;lt;br/&amp;gt;항공 촬영 영상 video (H.264)"] --&amp;gt; S["숫자 띠"] S --&amp;gt; V["3D 섹션&amp;lt;br/&amp;gt;three...</summary> </entry> <entry><title>서버는 떴는데 404만 난다: 윈도우에서 같은 포트에 파이썬 서버 두 개가 붙는 SO_REUSEADDR 함정</title><link href="https://gittidev.github.io/posts/windows-so-reuseaddr-port/" rel="alternate" type="text/html" title="서버는 떴는데 404만 난다: 윈도우에서 같은 포트에 파이썬 서버 두 개가 붙는 SO_REUSEADDR 함정" /><published>2026-11-05T12:00:00+09:00</published> <updated>2026-11-05T12:00:00+09:00</updated> <id>https://gittidev.github.io/posts/windows-so-reuseaddr-port/</id> <content type="text/html" src="https://gittidev.github.io/posts/windows-so-reuseaddr-port/" /> <author> <name>Boram Park</name> </author> <category term="Backend" /> <category term="Troubleshooting" /> <summary>사내 도구(파이썬 HTTP 서버)를 내 윈도우 PC에서 띄웠다. 로그는 「127.0.0.1:8765 시작」인데 API가 전부 404였다. 알고 보니 하루 전에 띄워 둔 python -m http.server 8765가 같은 포트를 잡고 있었고, 새 서버는 오류 없이 같은 포트에 또 붙었다. 파이썬 HTTPServer가 켜는 SO_REUSEADDR이 윈도우에서는 「남이 듣고 있는 포트에도 붙기」를 뜻하기 때문이다. 윈도우에서만 주소 재사용을 끄는 한 줄로, 이제는 포트가 차 있으면 켜질 때 바로 오류가 난다. 배경 도구는 파이썬 표준 라이브러리 ThreadingHTTPServer 하나로 된 웹 앱이다. 큰 이미지 데이터 묶음 하나를 맡아 화면·메타 정보·타일을 내준다. 원래는 리눅스 서버에서...</summary> </entry> <entry><title>교차검증 F1 0.77인데 지도는 정답의 7배를 칠했다: 한 클래스만 라벨링할 때 생기는 선택 편향과 공간 블록 교차검증</title><link href="https://gittidev.github.io/posts/one-class-selection-bias/" rel="alternate" type="text/html" title="교차검증 F1 0.77인데 지도는 정답의 7배를 칠했다: 한 클래스만 라벨링할 때 생기는 선택 편향과 공간 블록 교차검증" /><published>2026-11-05T12:00:00+09:00</published> <updated>2026-11-05T12:00:00+09:00</updated> <id>https://gittidev.github.io/posts/one-class-selection-bias/</id> <content type="text/html" src="https://gittidev.github.io/posts/one-class-selection-bias/" /> <author> <name>Boram Park</name> </author> <category term="AI" /> <category term="Concepts" /> <summary>항공(드론) 정사 영상에서 희귀한 대상 클래스 하나만 찾는 분류기를 학습했다. 교차검증 F1은 0.77로 괜찮았다. 그런데 전체 지도에 적용하자 정답 라벨 넓이의 7배 넘게 칠했다. 틀린 곳은 전부 학습 구역 밖이었다. 원인은 선택 편향이다. 음성(「대상 아님」) 예시를 대상이 많은 구역 안에서만 뽑았고, 교차검증도 그 안에서만 돌았다. 라벨 규칙의 반대에서 음성을 얻고, 구역 밖까지 넣은 공간 블록 교차검증으로 바꾸자 F1은 조금 내려갔지만 지도는 맞아졌다. 상황 라벨: 「지표 X가 문턱 이상인 칸 = 대상」이라는 규칙으로 칠했다. 대상이 많은 구역 13곳을 골라 그 안만 칠했다. 지표 X는 별도 센서로만 계산된다. 그 센서는 전체 지역의 일부만 찍었다. 목표: X 없이 RGB(+높이...</summary> </entry> <entry><title>서버는 멀쩡했다 — 브라우저 HTTP/1.1 연결 6개가 막혀 웹 도구가 멈춘 일과 HTTP/2</title><link href="https://gittidev.github.io/posts/browser-6-connections-http2/" rel="alternate" type="text/html" title="서버는 멀쩡했다 — 브라우저 HTTP/1.1 연결 6개가 막혀 웹 도구가 멈춘 일과 HTTP/2" /><published>2026-10-29T12:00:00+09:00</published> <updated>2026-10-29T12:00:00+09:00</updated> <id>https://gittidev.github.io/posts/browser-6-connections-http2/</id> <content type="text/html" src="https://gittidev.github.io/posts/browser-6-connections-http2/" /> <author> <name>Boram Park</name> </author> <category term="Frontend" /> <category term="Troubleshooting" /> <summary>사내 이미지 라벨링 웹 도구에서 분할 모델(SAM 같은 「클릭 한 번으로 물체 선택」 모델)을 연달아 쓰면 화면이 느려지다가 멈췄다. 처음엔 서버를 의심했다. 하지만 서버로 직접 보낸 요청은 0.03초 만에 끝났고, 한 번도 밀리지 않았다. 원인은 브라우저였다. HTTP/1.1에서는 크롬이 한 호스트에 연결을 6개까지만 연다. 큰 응답들이 이 6개를 붙잡자, 뒤의 요청 56개가 서버로 출발하지도 못하고 Stalled 상태로 7분 넘게 줄을 섰다. 리버스 프록시에서 HTTP/2를 켜서 6개 한계부터 없앴다. 같은 날 오후에는 같은 증상의 다른 원인도 찾았다. 화면이 스스로 만든 재요청 폭주였다. 배경 — 요청 하나가 지나가는 길 GPU와 원본 데이터는 사무실의 GPU 서버에만 있다. 그래서 브라우...</summary> </entry> <entry><title>SAM은 왜 흩어진 식생을 못 자를까: 물체(things)와 질감(stuff), 그리고 자동 라벨링</title><link href="https://gittidev.github.io/posts/sam-automask-texture/" rel="alternate" type="text/html" title="SAM은 왜 흩어진 식생을 못 자를까: 물체(things)와 질감(stuff), 그리고 자동 라벨링" /><published>2026-10-28T12:00:00+09:00</published> <updated>2026-10-28T12:00:00+09:00</updated> <id>https://gittidev.github.io/posts/sam-automask-texture/</id> <content type="text/html" src="https://gittidev.github.io/posts/sam-automask-texture/" /> <author> <name>Boram Park</name> </author> <category term="AI" /> <category term="Concepts" /> <summary>SAM2 자동 마스크로 「얇고 흩어진 식생」 클래스의 라벨 초안을 만들어 보려 했다. 해상도·창 크기·점 개수를 바꿔도 창 하나가 거의 통째로 조각 하나(96~100%)로 나왔다. 조각 단위로 어떤 규칙을 걸어도 대상을 하나도 못 골랐다(IoU 0.00). 밝기 문턱 하나짜리 픽셀 규칙이 훨씬 나았다. SAM은 「물체」를 자르는 모델이고, 이 클래스는 물체가 아니라 「질감」이었다. 질문: SAM 자동 마스크로 라벨 초안을 만들 수 있나 SAM(Segment Anything)은 점이나 상자를 찍으면 그 자리의 마스크를 내는 분할 모델이다. 프롬프트 없이 영상 전체를 조각내는 자동 마스크 생성(AMG) 모드도 있다. 그래서 이런 흐름을 생각했다. SAM 자동 마스크로 영상을 조각낸다. 조각마...</summary> </entry> </feed>
