effective python
1장 파이썬답게 생각하기Better way 1 사용 중인 파이썬의 버전을 알아두라Better way 2 PEP 8 스타일 가이드를 따르라Better way 3 bytes와 str의 차이를 알아두라Better way 4 C 스타일 형식 문자열을 str.format과 쓰기보다는 f-문자열을 통한 인터폴레이션을 사용하라Better way 5 복잡한 식을 쓰는 대신 도우미 함수를 작성하라Better way 6 인덱스를 사용하는 대신 대입을 사용해 데이터를 언패킹하라Better way 7 range보다는 enumerate를 사용하라 066Better way 8 여러 이터레이터에 대해 나란히 루프를 수행하려면 zip을 사용하라Better way 9 for나 while 루프 뒤에 else 블록을 사용하지 말라Bett..
2025.06.24
no image
python 철학
Easier to Ask Forgiveness than Permission
2025.06.24
cursor에서 docker container vsocde attach 안될때
>remote explorer: focus on dev containers view
2025.06.02
no image
nvidia docker torch, trt runtime vs dev
nsight-compute folder 가 없노1GB차이cuda에서 차이가 많이나네 정적 파일 있고 없고가 그냥 가장 큰 차이인듯? ###################################################################### torch  한개는 usr가 꽉차있노,,어떻게 없을 수가 있지,,? 예?이거 그냥 nvidia 가 있고 없고의 차이인듯하다,,이미 컴파일 다돼서 그런갑다
2025.02.19
raw image viewer
https://rawtherapee.com/downloads/ Download it.Make it executable: chmod u+x RawTherapee_5.10.AppImageRun it: ./RawTherapee_5.10.AppImage
2025.01.11
no image
cuda-samples Freeimage.h issue
vcpkg 로 설치하려고 했는데,, 왜인지 모르게 자꾸 libtiff 관련 issue가 떴다..그래서 새로 설치하려고 https://www.google.com/search?q=freeimage+github&oq=Freeimage+github&gs_lcrp=EgZjaHJvbWUqBwgAEAAYgAQyBwgAEAAYgAQyCAgBEAAYFhgeMgYIAhBFGDwyBggDEEUYPDIGCAQQRRg80gEIMjMwMWowajeoAgCwAgA&sourceid=chrome&ie=UTF-8 🔎 freeimage github: Google 검색 www.google.com링크를 들어가 여러개 보니 웬걸,, lib가 여러개인거 아닌가,,그래서 제일 star가 많은 곳으로 들어가 설치를 해도 에러,,자꾸 의존성 iss..
2025.01.11
onxx export
import torchfrom mmpose.models.necks import ChannelMappermodel = ChannelMapper( in_channels=[256, 256], kernel_size=1, out_channels=384, act_cfg=None, norm_cfg=dict(type='BN'), num_outs=3)# Create dummy input tensor with appropriate shapeinputs = (torch.randn(1, 256, 32, 32), torch.randn(1, 256, 16, 16))dummy_input = (inputs,) # Wrap the inputs in an extra tuple# Test the mode..
2024.11.28
youtube downloader
https://github.com/yt-dlp/yt-dlp
2024.11.27
no image
tests 디렉토리 인식 안됨
그리고 매 폴더에 __init__.py가 있어야함
2024.11.26