티스토리 뷰
[Open Source Contribution] YOLOv8(ultralytics/ultralytics) 기여 #4 그리고 ChatGPT활용
developer0hye 2023. 3. 6. 20:19https://developer0hye.tistory.com/479
[Open Source Contribution] YOLOv8(ultralytics/ultralytics) 기여 #3
https://github.com/ultralytics/ultralytics/pull/955 eval arguments with `iskeyword` and `locals()` instead of suppressing an exception for better readability by developer0hye · Pu eval arguments with iskeyword and locals() instead of suppressing an except
developer0hye.tistory.com
이전 PR 에서 model parsing과정에서 eval()함수에 사용을 피하자는 뉘앙스로 개발 방향이 잡혀졌다. 이전 PR에서 다룬 부분은 아니지만 다른 부분에서도 eval()이 만연하게 쓰이고 있어서 최대한 제거할 수 있는 부분은 제거 해봤다.
https://github.com/ultralytics/ultralytics/pull/1273
remove eval in parse_model by developer0hye · Pull Request #1273 · ultralytics/ultralytics
I made an effort to minimize the number of calls to the eval() function in parse_model() in order to make the code safer. It is related to #955.
github.com
PR 설명란에 작성된 내용은 사실 ChatGPT가 작성해준내용이다.


영어 잘 못하지만 적어도 내가 쓴 문장보다는 나아보여서 그대로 카피했다...
감사합니다. ChatGPT 선생님.
혹시 영어고수님께서 이 글을 보고계신다면 제 의도를 보다 잘 설명할 수 있게 번역을 부탁드리겠습니다.
'Contribution 일지' 카테고리의 다른 글
- Total
- Today
- Yesterday
- 단축키
- 이분탐색
- LCA
- 백준
- PyCharm
- MOT
- 위상 정렬 알고리즘
- 문제집
- 파이참
- Lowest Common Ancestor
- 인공지능을 위한 선형대수
- 백준 11053
- 자료구조
- 백준 1766
- ㅂ
- 백트래킹
- 순열
- 백준 11437
- 가장 긴 증가하는 부분 수열
- FairMOT
- cosine
- C++ Deploy
- 조합
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
