Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- pyTorch
- raspberry pi
- Jupyter notebook
- Windows 10
- install
- shakeratos
- face_recognition
- CUDA
- Deep Learning
- python
- dataset
- error
- colaboratory
- keras
- Anaconda
- FIle
- linux
- colab
- dlib
- ppc64le
- download
- windows
- 딥러닝
- TensorFlow
- python3
- gpu memory
- ubuntu
- urllib
- YouTube 8M
- object detection
Archives
- Today
- Total
목록TrainBatcher (1)
Shakerato
How to implement next_batch for mini batch gradient descent in deep learning
Full Code: https://www.kaggle.com/pedrolcn/deep-tensorflow-ccn-cross-validationclass TrainBatcher(object): # Class constructor def __init__(self, examples, labels): self.labels = labels self.examples = examples self.index_in_epoch = 0 self.num_examples = examples.shape[0] # mini-batching method def next_batch(self, batch_size): start = self.index_in_epoch self.index_in_epoch += batch_size # When..
Research
2018. 4. 2. 15:29