전체 글

Done/C++_Python

[Python] Visualization tool

Source trail (c++ java, python) https://github.com/CoatiSoftware/Sourcetrail/releases —> Install python extention https://github.com/CoatiSoftware/SourcetrailPythonIndexer/releases/tag/v1_db25_p6 python documentation https://shareablee.github.io/blog/code-dependency-visualisation-in-python-using-sourcetrail/

Done/Trouble Shooting

[ERROR] Zero division error python

- 나눗셈 할 때 에러가 날 때 아래처럼 처리 해주거나 예외처리 하기! d = a/(b+(1e-9)) d = a/ np.max(b, (1e-9))

Done

Cosine Similarity (코사인 유사도) , 마할라노비스 거리(Mahalanobis distance)

여기저기서 자주 등장하는 코사인유사도와 마할라노비스거리 한번 정리하려고 한다 이런 거리들은 주로 어떤 두개의 집합이 유사한가?에 대해서 이야기할 때 많이 쓰인다 이미지 매칭이나,,,등등 각각 의미와 어떤 곳에 많이 사용되는지 물리적인 의미 같은것은 공부할 때마다 틈틈히 정리할 예정이다. 그 전에 각각이 어떤 내용인지 먼저 정리하고보자 우선 MOT를 잘 이해하고 구현해보려고 기초부터 보는 중 코사인 유사도(Cosine similarity) - 벡터간의 사잇각을 구하여 유사한 정도를 나타낸 것 : (의견)공간에 값들의 집합이 향하는 방향의 유사성을 판단한다고 이해함, 예를 들어 MOT 문제에서 인식한 객체가 이전 프레임의 물체와 같은가?를 유추할 때 Detection이 가지는 벡터에 들에 대한 관계를 코사인..

Done/Trouble Shooting

[ERROR] Python, PyQt5 GUI , Conda환경에서의 segmentation error

Windows 환경에서 PyQt5 사용 시 - conda 환경 위에서 pip install 을 통해 사용하게 된다면 segmentation error를 마주할 수도 있다. - segmetnation error는 라이브러리 끼리 충돌이 일어나거나, 메모리가 부족하거나,, 등등 여러가지 이유로 발생할 수 있다. 우선 이 오류가 뜬다면 ** conda install -c anaconda pyqt 로 먼저 바꿔서 진행해보자 그래도 안 된다면, 라이브러리들이 올바로 설치가 완료되어있는지 pyqutogui 이나 pyqt5 중 import 순서에는 문제가 없는지 확인

PaperReview-Practice/PaperReviews

[논문소개] Collision avoidance

# PercepctionPedestrian Dominance Modeling for Socially-Aware Robot Navigation  (2023 IEEE ROBOTICS AND AUTOMATION LETTERS) Collision Avoidance Among Dense Heterogeneous Agents Using Reinforcement Learning 저자 :  Kai Zhu, Bin Li, Wenming Zhe, Tao Zhang /China1) 둥근모양으로 설정해서 실험하던걸 여러 모양으로 바꿈2) Velocity-related collision risk function  (2021) Formation Control With Collision Avoidance Through Deep R..

Done/Trouble Shooting

[ERROR] Certificate verification failed: The certificate is NOT trusted. (APT list)

가끔 APT 링크가 잘 못 되었을 때 gpg error 나 403 error 말고도 다음과 같은 인증서 만료 오류? 신뢰할 수 없는 인증서라고,,,,, 오류를 낸다 Ign:1 https://librealsense.intel.com/Debian/apt-repo focal InRelease Err:2 https://librealsense.intel.com/Debian/apt-repo focal Release Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verificatio..

Done/C++_Python

[Pytorch] Randomness 고정 cuda

https://hoya012.github.io/blog/reproducible_pytorch/ Reproducible PyTorch를 위한 randomness 올바르게 제어하기! PyTorch 코드의 완벽한 재현을 위해 고려해야할 randomness를 제어하는 법을 설명드리겠습니다. hoya012.github.io Pytorch Random 잡기 torch.backends.cudnn.deterministic = True torch.backends.cudnn.benchmark = False 텐서코어를 갖고 있는 GPU의 경우 부동소수점 연산 다름 (https://dreamgonfly.github.io/blog/cuda-cores-vs-tensor-cores/#benefits--drawbacks-of-ten..

Done/Trouble Shooting

[ERROR]IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number

https://github.com/NVIDIA/flownet2-pytorch/issues/113#issuecomment-450802359 invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number · Issue #113 · NVIDIA/flownet2 pytorch 1.0 python3 main.py --inference --model FlowNet2 --save_flow --inference_dataset ImagesFromFolder --inference_dataset_root ~/fs24_512/ --resume mycheckpoints/FlowNet2_checkpoint.pth.tar ..

728x90
weasel7
weasel