Tips

파이토치에서 reproduction을 위해서 seed를 설정해주고는 한다. 이 때, torch.set_deterministic(True)로 설정시 다음과 같은 에러를 마주 할 수 있다. RuntimeError: Deterministic behavior was enabled with either torch.set_deterministic(True) or at::Context::setDeterministic(true), but this operation is not deterministic because it uses CuBLAS and you have CUDA >= 10.2. To enable deterministic behavior in this case, you must set an environmen..
· Tips/Git
github 주소 뒤에 1s를 넣어준다. 그러면 Visual Studio Code에서 코드를 보는 것처럼 볼 수 있다. 이 좋은걸 여태 모르고 있었다니... 앞으로 코드 보기에 좀 더 수월할 것 같다.
aihum
'Tips' 카테고리의 글 목록