ESL 연구실 활동/LAB

오늘 한 거

천숭이 2022. 1. 26. 17:06
  • pytorch에서 에러가 생겨서 cuda10.0, cudnn8.2.4 재설치
  • python3.8 재설치 -> 가상환경 'py38' 만들어서 관련 라이브러리 다 설치
  •  근데도 런타임 에러 발생
RuntimeError: 
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

Process finished with exit code -1
  • 코드가 길어서 셀단위로 관찰해야해서 pycharm -> vscode로 넘어가서 쥬피터로 실행

 

 

* 터미널에서 >>activate py38

* vscode 실행 ctrl + shift + p 해서 jupyter 실행하기

'ESL 연구실 활동 > LAB' 카테고리의 다른 글

//0224// 멧돼지Net  (0) 2022.02.25
mediapipe를 이용한 3D shoe detection  (0) 2022.02.24
혼공머 회귀 작성중  (0) 2022.01.30
혼공머 스터디 (1~2장)  (0) 2022.01.25
컴구 운체 강의 추천  (0) 2022.01.23
Pythorch 입문 - 다중회긔  (0) 2022.01.20