안녕하세요.
아래 커맨드로 설치해보시기 바랍니다.
pip install torch==1.8.0+cpu torchvision==0.9.0+cpu torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
위 커맨드는 https://pytorch.org/get-started/locally/ 에 접속하셔서
PyTorch Build - Stable
Your OS - Linux
Package - Pip
Language - Python
Compute Platform - None
옵션을 선택하시면 얻을 수 있습니다.
감사합니다.
@po개발자wer 님이 C 언어 | scanf 오류가 납니다. 에서 보낸 메세지:
ch = getchar();
while (getchar() != '\n') {}
알려주신 코드는 했더니 원래 종료 조건을 만족시켜도 제대로 되지가 않아 scanf_s를 썼습니다.
scanf_s("%c", &ch, sizeof(ch));
를 해서 했더니 비주얼 스튜디오에서는 되지만 구름 ide는 안 돼서 %c 앞에 스페이스바로 빈칸을 넣어줬더니 됐는데 이것도 문제가 없을까요?