Pytorch를 이용하여 Model을 저장하는 방법은 아래와 같습니다. import torch import torch.nn as nn device = 'cuda' if torch.cuda.is_available() else 'cpu' # CNN_model 예시 class CNN_model(nn.Module): #tistory 코드 블럭의 문제인지 indent가 맞질 않습니다... def __init__(self): ... ... def forward(self, x): ... ... model = CNN_model() # torch.save(model, path_dict_file_name) # model 전체 저장 torch.save(model, 'model.pt') # state_dict = 학습 가능한..