dlib 설치 도중 wheel 에러가 발생했다.error while install dlib on cmd, could not build wheels for dlib 우선 visual studio c++ cmaker를 다운로드받은 후에, pip install cmake로 cmake를 설치해준다. 마지막으로 https://github.com/z-mahmud22/Dlib_Windows_Python3.x/tree/main GitHub - z-mahmud22/Dlib_Windows_Python3.x: Dlib compiled binary (.whl) for Python 3.7-3.12 and Windows x64Dlib compiled binary (.whl) for Python 3.7-3.12 and Windo..
디버깅
![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FASxmQ%2FbtrROJf49mQ%2FHF6iAxkO1K5YKSUf1hPFYK%2Fimg.png)
평화롭게 huggingface 모듈로 bert 모델을 fine tuning하기 위해 학습시키던 도중 훈련도 돠 됬겠다 기쁜 마음으로 pipeline에 적용하려고 했으나, 요런 에러가 등장했다. RuntimeError : Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select) 처음에는 아 model.to(device)를 깜빡했네! 라고 생각해서 바꿔줬는데 아무리 trainer 내부의 모델을 to(device) 처리해줘도 아무런 변화가없었다... 결론부터 말하자..