C드라이브 용량이 가득 찬 상황에서 WSL 인스턴스를 꾸역 꾸역 생성할 일이 있었다. 그러다가 WSL 인스턴스에 이것저것 추가로 설치하니 C드라이브 용량이 정말 가득 차버렸다. 그러고 다시 해당 인스턴스에 접속하니 접속이 안된다. 뭔가 용량이 가득찬 상황에서 이것 저것 설치하다가 인스턴스가 꼬여버린듯하다. 구글링을 해보니 이미지를 다른 드라이브에 옮길 수 있었다. 옮기고자 하는 인스턴스의 이름이 instance고 이미지를 파일로 구워서 저장할 위치를 path(예: ./ubuntu.tar) 새로 생성할 인스턴스의 이름이 new_instance 새로 생성할 인스턴스 이미지 관련 파일들이 저장될 위치를 new_instance_path(예: ./) 아래 명령어를 수행하면된다. wsl --export instan..

https://github.com/ultralytics/yolov5 GitHub - ultralytics/yolov5: YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite. Contribute to ultralytics/yolov5 development by creating an account on GitHub. github.com 요새 좀 시간이 남고 YOLOv5 로 실험 좀 해보고 있어서 코드 보다가 수정할만한 부분이 생기면 바로바로 PR 날렸다. 그러다보니 원래는 커밋 횟수 기준 상위 8번째에 위치했는데 최근에 많이 작업하면서 7번째로 다시 올라왔다! 각잡고 하면 상위 3번째까지는 올라갈 수..

14 학번 입학 당시 모드리치 선수의 플레이가 너무 좋아서, 영어 수업때 영어 이름도 모드리치로 했었는데... 8년이 지난 지금 월드컵에서의 모드리치를 보니 14년도와는 다르게 확실히 나이가 듦을 느꼈다. 동시에 나도 대학교 입학한지가 벌써 8년이 됐구나 싶다... 뭔가 내 우상이 늙어감이 외적으로 보이는게 가슴이 뭉클해지기도 한다... 8년뒤는 또 어떨까... 나는 어떻게 지내고 있을까 어디서 살고 있을까... 그때는 습기를 신경쓰지 않을 만큼 샤워를 오래해도 상관이 없을 습도 조절이 뛰어난 좋은 집에서 살고 있었으면 좋겠다. 집에 치닝디핑을 놓을 여유 공간이 있었으면 좋겠다. 딱새우랑 고등어회를 돈 걱정 없이 배부를 정도로 먹을 수 있었으면 좋겠다. 책상위에는 42인치 이상의 논 글레어 모니터가 있으..
다른 말로 call-by-need

https://github.com/ultralytics/yolov5/pull/10467 Modify a comment for OpenCV File I/O Functions by developer0hye · Pull Request #10467 · ultralytics/yolov5 Signed-off-by: Yonghye Kwon developer.0hye@gmail.com github.com 주석 수정했다. OpenCV 써본 사람이면 알겠지만, imread 나 imwrite에 유니코드 들어가면 정상적으로 동작하지 않는다. 그래서 YOLOv5에도 이를 고려한 예외처리가 돼있는데, 해당 부분에 대한 주석설명을 "특정한 언어 지향적인" 보다는 "다국적어 지향적인"의 느낌으로 수정하였다.

YOLOv5 모델은 torch.hub.load를 이용하여 Load 가능하다. https://colab.research.google.com/github/ultralytics/yolov5/blob/master/tutorial.ipynb#scrollTo=GMusP4OAxFu6 YOLOv5 Tutorial Run, share, and edit Python notebooks colab.research.google.com # YOLOv5 PyTorch HUB Inference (DetectionModels only) import torch model = torch.hub.load('ultralytics/yolov5', 'yolov5s', force_reload=True) # yolov5n - yolov5x6 or ..
https://stackoverflow.com/questions/3229419/how-to-pretty-print-nested-dictionaries How to pretty print nested dictionaries? How can I pretty print a dictionary with depth of ~4 in Python? I tried pretty printing with pprint(), but it did not work: import pprint pp = pprint.PrettyPrinter(indent=4) pp.pprint(mydict) I ... stackoverflow.com
https://github.com/openai/CLIP GitHub - openai/CLIP: Contrastive Language-Image Pretraining Contrastive Language-Image Pretraining. Contribute to openai/CLIP development by creating an account on GitHub. github.com CLIP 모델 파인튜닝 해보려니 1 iteration 학습하니까 바로 Loss가 nan이 뜬다. 당황해서 이슈 찾아보니 이슈가 있었다. https://github.com/openai/CLIP/issues/40 NaN values after a single gradient step · Issue #40 · openai/CLIP ..
https://stackoverflow.com/a/40070460/10386667 OpenCV behavior differences between Linux and Windows built application I have an application that I wrote and tested in Windows that uses OpenCV for image evaluation. It uses OpenCV 3.1.0 and was compiled with MinGW-W64 5.3.0. Now, I've cloned this application and b... stackoverflow.com
with open(filename) as f: mylist = f.read().splitlines() https://stackoverflow.com/questions/15233340/getting-rid-of-n-when-using-readlines Getting rid of \n when using .readlines() I have a .txt file with values in it. The values are listed like so: Value1 Value2 Value3 Value4 My goal is to put the values in a list. When I do so, the list looks like this: ['Value1\n', 'Value... stackoverflow.com
- Total
- Today
- Yesterday
- 백준
- Lowest Common Ancestor
- 인공지능을 위한 선형대수
- C++ Deploy
- 백준 1766
- LCA
- 백준 11437
- ㅂ
- 조합
- 위상 정렬 알고리즘
- 순열
- cosine
- 백준 11053
- 백트래킹
- 문제집
- FairMOT
- 가장 긴 증가하는 부분 수열
- 단축키
- 이분탐색
- 자료구조
- MOT
- 파이참
- PyCharm
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |