Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prototype_source/torchscript_freezing.py 번역 진행 #774

Conversation

jih0-kim
Copy link
Contributor

@jih0-kim jih0-kim commented Sep 5, 2023

라이선스 동의

변경해주시는 내용에 BSD 3항 라이선스가 적용됨을 동의해주셔야 합니다.

더 자세한 내용은 기여하기 문서를 참고해주세요.

동의하시면 아래 [ ][x]로 만들어주세요.

  • 기여하기 문서를 확인하였으며, 본 PR 내용에 BSD 3항 라이선스가 적용됨에 동의합니다.

관련 이슈 번호

이 Pull Request와 관련있는 이슈 번호를 적어주세요.

이슈 또는 PR 번호 앞에 #을 붙이시면 제목을 바로 확인하실 수 있습니다. (예. #999 )

PR 종류

이 PR에 해당되는 종류 앞의 [ ][x]로 변경해주세요.

  • 오탈자를 수정하거나 번역을 개선하는 기여
  • 번역되지 않은 튜토리얼을 번역하는 기여
  • 공식 튜토리얼 내용을 반영하는 기여
  • 위 종류에 포함되지 않는 기여

PR 설명

이 PR로 무엇이 달라지는지 대략적으로 알려주세요.
prototype_source/torchscript_freezing.py 튜토리얼을 번역합니다.

Copy link
Member

@hyoyoung hyoyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다른 파일을 지우시면 안됩니다
수정이 필요한 파일에 대해서만 PR 제출 부탁드립니다

@@ -58,17 +59,15 @@ def version(self):

try:
print(fnet.conv1.bias)
# without exception handling, prints:
# 예외 처리 없이는 'conv1' 이라는 이름과 함께 다음을 출력합니다.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'예외 처리 없이는'보다 '예외 처리 없이'로 바꾸면 더 잘 읽힐거 같습니다

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵, 새로 PR 제출하였습니다!!(링크)
'예외 처리가 없을 시' 라는 표현은 어떨까요?

# In this tutorial, we learned about model freezing. Freezing is a useful technique to
# optimize models for inference and it also can significantly reduce TorchScript warmup time.
# 이 튜토리얼에서는 모델 동결에 대해 배웠습니다.
# 동결은 추론 시 모델 최적화를 할 수 있는 유용한 기법이며 TorchScript 워밍업 시간을 크게 줄입니다.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

마지막줄에 CRLF나 newline이 들어갔습니다 확인 부탁드립니다

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수정하였습니다. 감사합니다.

@hyoyoung
Copy link
Member

https://github.com/PyTorchKorea/tutorials-kr/pull/788/files
새로운 PR이 있으므로, 기존 PR은 닫습니다

@hyoyoung hyoyoung closed this Sep 24, 2023
@jih0-kim jih0-kim deleted the translation-prototype_source/torchscript_freezing.py branch September 24, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants