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 | 29 | 30 | 31 |
Tags
- AI
- pytorch
- segmentation
- rnn
- vsC
- __init__
- DeepLearning
- torch
- 머신러닝
- torch.nn.Module
- 가상환경구축
- 컴퓨터비전
- torch.nn
- pychram
- Deep learning
- tensorflow
- objectdetection
- 딥러닝
- Anaconda
- 가상환경
- NumPy
- vision transformer
- CNN
- ViT
- Torchvision
- 파이썬문법
- 파이썬
- __call__
- LSTM
- python
Archives
- Today
- Total
목록torch.nn.Module.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