https://kr.bandisoft.com/bandizip/help/parameter/ 반디집 - 커맨드 라인 파라미터 -fmt:{fmt} 압축할 때 사용할 파일 포맷을 지정한다.(zip, zipx, exe, tar, tgz, lzh, iso, 7z, gz, xz) kr.bandisoft.com 반디집을 커맨드 라인으로 실행하여 커맨드 창에서 명령어로 파일 압축/압축해제가 가능하다. 내가 최근에 실행한 명령어는 와일드 카드를 이용하여 특정 패턴을 갖는 파일만 압축하는 작업이였다. 특정 폴더에서 " *_압축.txt" 형태의 파일만 커맨드 라인으로 싹싹 압축하고 싶다면 아래와 같이 입력하면 된다. bz.exe c 압축파일.zip *_압축.txt
https://docs.python.org/dev/faq/library.html#can-t-we-get-rid-of-the-global-interpreter-lock Library and Extension FAQ Contents: Library and Extension FAQ- General Library Questions- How do I find a module or application to perform task X?, Where is the math.py (socket.py, regex.py, etc.) source file?, How do I mak... docs.python.org GIL 때문에 완전한 multithread의 이점을 못누려서 IO Bound task들이나 C로 구현되어 있는 ..
import traceback try: ... except Exception as e: print(e) 코딩을 하다보면 발생하는 예외를 처리하기 위해 try except 문을 많이 쓰게된다. 근데, 위에 코드 처럼 구현하면 어떤 예외가 발생하는지는 알 수 있지만 어디서 어떤 작업을 하다가 해당 예외가 발생했는지 추적이 어렵다. 어디서 예외가 발생했는지 추적을 하기 위해서는 traceback을 import하고 traceback.print_exc()를 except 블럭에서 호출해주면 된다. import traceback try: ... except Exception as e: print(e) traceback.print_exc()
with open(...) as f: for(...): f.write(...) f.flush() 바로 flush()함수를 호출해주면된다. 이거 안해주면 쓰기 작업이 다 마친뒤에야 확인 가능하다. (logging 모듈써서 로깅하는 거면 중간에도 확인 가능) 파일에 쓸 게 많고 파일에 로그를 남기기 위해 소요되는 시간이 길다면 이게 잘 써지고는 있는지 불안하길 마련인데 적절한 시기에 flush 를 한 번씩 해주면 바로 logging이 어떻게 됐나 확인할 수 있다.
https://arxiv.org/abs/2311.09215 ConvNet vs Transformer, Supervised vs CLIP: Beyond ImageNet Accuracy Modern computer vision offers a great variety of models to practitioners, and selecting a model from multiple options for specific applications can be challenging. Conventionally, competing model architectures and training protocols are compared by their c arxiv.org 대충 결론만 봄 나중에 다시 읽어보자(과연?)
https://github.com/mcc-wh/token GitHub - MCC-WH/Token: Official implementation of the AAAI 2022 paper "Learning Token-based Representation for Image Retrieval" Official implementation of the AAAI 2022 paper "Learning Token-based Representation for Image Retrieval" - MCC-WH/Token github.com 요새 해보고 싶은 건 너무 많고 번뜩 떠오른 것도 많은데 그러다보니 잊는 것들도 많이 생겨서 기록 1. 시밀러리티 뭔 식 사용하는지 논문, 코드 뜯어보기 2. 돌려보기
https://stackoverflow.com/a/49647309/10386667 Interactive shell using Docker Compose Is there any way to start an interactive shell in a container using Docker Compose only? I've tried something like this, in my docker-compose.yml: myapp: image: alpine:latest entrypoint: /bin/sh stackoverflow.com docker compose run {서비스 이름} /bin/bash 만약 yaml 파일이 아래와 같이 작성돼있다면 {서비스 이름}에 app을 넣어주면 됨 stdin_open, tt..
https://stackoverflow.com/questions/2122706/detect-color-space-with-opencv detect color space with openCV how can I see the color space of my image with openCV ? I would like to be sure it is RGB, before to convert to another one using cvCvtColor() function thanks stackoverflow.com 있다면 방법 좀 알려주세요ㅠㅠ
- Total
- Today
- Yesterday
- 백트래킹
- 순열
- 위상 정렬 알고리즘
- 인공지능을 위한 선형대수
- LCA
- 파이참
- C++ Deploy
- 이분탐색
- cosine
- FairMOT
- 문제집
- 백준 11437
- MOT
- Lowest Common Ancestor
- 조합
- 자료구조
- 백준 11053
- 단축키
- PyCharm
- ㅂ
- 백준 1766
- 백준
- 가장 긴 증가하는 부분 수열
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |