일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 프로그래머스너비우선탐색
- 프로그래머스타겟넘버정답
- ECCV
- 코딩테스트연습
- 프로그래머스파이썬
- pytorch
- deep learning
- Paper list
- 프로그래머스타겟넘버
- Pruning Tutorial
- Two stage Detector
- 코딩테스트2단계
- Faster R-CNN
- SSD 리뷰
- 타겟넘버bfs
- One stage detector
- Code Study
- 코딩테스트네트워크
- 프로그래머스타겟넘버파이썬
- 다음큰숫자
- Single Shot MultiBox Detector
- 프로그래머스
- 커피후기
- 프로그래머스게임맵최단거리
- 최솟값 만들기
- ssd
- Pytorch pruning
- Object Detection
- 프로그래머스네트워크
- 프로그래머스bfs
- Today
- Total
목록Study/Code Review (10)
soyeonland
1. model 생성 import torch from torch import nn import torch.nn.utils.prune as prune import torch.nn.functional as F device = torch.device('cuda' if torch.cuda.is_available() else "cpu") class LeNet(nn.Module): def __init__(self): super(LeNet, self).__init__() self.conv1 = nn.Conv2d(1, 6, kernel_size=3) self.conv2 = nn.Conv2d(6, 16, kernel_size=3) self.fc1 = nn.Linear(16 * 5 *5, 120) self.fc2 = nn..

The purpose of the document is study class PriorBox(object): """ Compute priorbox coordinates in center-offset form for each source feature map """ def __init__(self, cfg): super(PriorBox, self).__init__() self.image_size = cfg['min_dim'] #300 self.num_priors = len(cfg['aspect_ratios']) #6 self.variance = cfg['variance'] or [0.1] self.feature_maps = cfg['feature_maps'] #[38, 19, 10, 5, 3, 1] sel..