PyTorch Recipes¶
- loading_data_recipe.py
Loading Data in PyTorch https://tutorials.pytorch.kr/recipes/recipes/loading_data_recipe.html
- defining_a_neural_network.py
Defining a Neural Network in PyTorch https://tutorials.pytorch.kr/recipes/recipes/defining_a_neural_network.html
- what_is_state_dict.py
What is a state_dict in PyTorch https://tutorials.pytorch.kr/recipes/recipes/what_is_state_dict.html
- saving_and_loading_models_for_inference.py
Saving and loading models for inference in PyTorch https://tutorials.pytorch.kr/recipes/recipes/saving_and_loading_models_for_inference.html
- custom_dataset_transforms_loader.py
Developing Custom PyTorch Dataloaders https://tutorials.pytorch.kr/recipes/recipes/custom_dataset_transforms_loader.html
- Captum_Recipe.py
Model Interpretability using Captum https://tutorials.pytorch.kr/recipes/recipes/Captum_Recipe.html
- dynamic_quantization.py
Dynamic Quantization https://tutorials.pytorch.kr/recipes/recipes/dynamic_quantization.html
- save_load_across_devices.py
Saving and loading models across devices in PyTorch https://tutorials.pytorch.kr/recipes/recipes/save_load_across_devices.html
- saving_and_loading_a_general_checkpoint.py
Saving and loading a general checkpoint in PyTorch https://tutorials.pytorch.kr/recipes/recipes/saving_and_loading_a_general_checkpoint.html
- saving_and_loading_models_for_inference.py
Saving and loading models for inference in PyTorch https://tutorials.pytorch.kr/recipes/recipes/saving_and_loading_models_for_inference.html
- saving_multiple_models_in_one_file.py
Saving and loading multiple models in one file using PyTorch https://tutorials.pytorch.kr/recipes/recipes/saving_multiple_models_in_one_file.html
- warmstarting_model_using_parameters_from_a_different_model.py
Warmstarting models using parameters from different model https://tutorials.pytorch.kr/recipes/recipes/warmstarting_model_using_parameters_from_a_different_model.html
- zeroing_out_gradients.py
Zeroing out gradients https://tutorials.pytorch.kr/recipes/recipes/zeroing_out_gradients.html
- mobile_perf.py
PyTorch Mobile Performance Recipes https://tutorials.pytorch.kr/recipes/mobile_perf.html
- amp_recipe.py
Automatic Mixed Precision https://tutorials.pytorch.kr/recipes/amp_recipe.html
PyTorch에서 추론(inference)을 위해 모델 저장하기 & 불러오기
PyTorch에서 일반적인 체크포인트(checkpoint) 저장하기 & 불러오기
PyTorch에서 다양한 장치 간 모델을 저장하고 불러오기
PyTorch에서 다른 모델의 매개변수를 사용하여 빠르게 모델 시작하기(warmstart)
PyTorch에서 여러 모델을 하나의 파일에 저장하기 & 불러오기
Tips for Loading an nn.Module from a Checkpoint
Extension points in nn.Module for load_state_dict and tensor subclasses
사용자 정의 PyTorch Dataloader 작성하기