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
- NumPy
- __call__
- __init__
- python
- AI
- vsC
- 컴퓨터비전
- LSTM
- torch
- 머신러닝
- torch.nn
- Deep learning
- rnn
- 딥러닝
- 가상환경
- tensorflow
- pytorch
- torch.nn.Module
- 파이썬문법
- segmentation
- 가상환경구축
- objectdetection
- DeepLearning
- 파이썬
- pychram
- Anaconda
- CNN
- Torchvision
- ViT
- vision transformer
Archives
- Today
- Total
목록code_study/tensorflow (1)
인공지능을 좋아하는 곧미남
.get_shape().as_list() 활용 방법
오늘은 .get_shape().as_list()를 어떻게 제가 활용했는지 확인해보겠습니다. 간단하게 .get_shape()와 .as_list()에 관해 알아보고 딥러닝 모델을 구현할 때 어떻게 사용했는지 설명하겠습니다. 1. .get_shape() 란? - 행렬, 배열 등의 shape를 출력해주는 함수입니다. 2. .as_list() 란? - return 되는 값이 list형태로 변환해서 return합니다. convolution layer shape는 일반적으로 (batch_size, height, width, chennel) 입니다. 아래와 같이 선언해주면, 해당 conv layer의 height와 width shape 값을 얻을 수 있습니다. - h, w = conv_4_2.get_shape().as..
code_study/tensorflow
2021. 6. 23. 10:01