Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/Artificial Intelligence/AI Development/AI Framework/Pytorch/Pytorch Grammar/torch.nn/Pytorch Module/
Pytorch Model.eval()
Search

Pytorch Model.eval()

Creator
Creator
Seonglae Cho
Created
Created
2023 May 27 10:57
Editor
Editor
Seonglae Cho
Edited
Edited
2024 Feb 24 14:5
Refs
Refs
Pytorch Model.train()
switch to eval mode
  • eval(): model을 evaluation mode로 설정한다.
 

Differences

  • Dropout
    layer
  • Batch Normalization
    layer
 
 
 
Module — PyTorch 2.0 documentation
Module — PyTorch 2.0 documentation
https://pytorch.org/docs/stable/generated/torch.nn.Module.html#torch.nn.Module.eval
[PyTorch] model.eval() 의미
“Talk is cheap. Show me the code.” - Linus Tovarlds
[PyTorch] model.eval() 의미
https://bluehorn07.github.io/2021/02/27/model-eval-and-train.html
 
 
 

 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/Artificial Intelligence/AI Development/AI Framework/Pytorch/Pytorch Grammar/torch.nn/Pytorch Module/
Pytorch Model.eval()
Copyright Seonglae Cho