반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- ubuntu
- Torchvision
- 가상환경
- wsl2
- torch.nn
- objectdetection
- Deep learning
- pip install
- pychram
- rnn
- ViT
- python 문법
- torch.nn.Module
- 파이썬문법
- 파이썬
- Anaconda
- python
- 머신러닝
- __init__
- vision transformer
- CNN
- pytorch
- tensorflow
- docker
- AI
- 가상환경구축
- __call__
- LSTM
- 딥러닝
- DeepLearning
Archives
- Today
- Total
목록torch.nn.Module.named_parameters() (1)
인공지능을 좋아하는 곧미남
[pytorch] torch.nn.Module.parameters(), named_parameters()
오늘은 torch.nn.Module.parameters(), named_parameters()를 이용하여 Deep Neural Network의 convolution layer의 parameters인 weight, bias를 추출해보겠습니다. 오늘의 내용은 아래와 같습니다. 1. torch.nn.Module.parameters() 설명 2. torch.nn.Module.named_parameters() 설명 제가 구성한 model은 아래 코드와 같습니다. - 구현 코드 - import torch import torch.nn as nn class CNN(nn.Module): def __init__(self, img_size, num_class): super(CNN, self).__init_..
code_study/pytorch
2021. 12. 10. 14:47