Skip to content

Commit 9a9d11e

Browse files
committed
Merge branch 'master' of github.com:BVLC/caffe
2 parents 38c0cfe + 1d5f4e5 commit 9a9d11e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/caffe/layer.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Layer {
9393
}
9494

9595
/**
96-
* @brief Adjust the shapes of top blobs and internal buffers to accomodate
96+
* @brief Adjust the shapes of top blobs and internal buffers to accommodate
9797
* the shapes of the bottom blobs.
9898
*
9999
* @param bottom the input blobs, with the requested input shapes
@@ -102,7 +102,7 @@ class Layer {
102102
* This method should reshape top blobs as needed according to the shapes
103103
* of the bottom (input) blobs, as well as reshaping any internal buffers
104104
* and making any other necessary adjustments so that the layer can
105-
* accomodate the bottom blobs.
105+
* accommodate the bottom blobs.
106106
*/
107107
virtual void Reshape(const vector<Blob<Dtype>*>& bottom,
108108
const vector<Blob<Dtype>*>& top) = 0;

tools/extra/parse_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def parse_log(path_to_log):
2828
regex_iteration = re.compile('Iteration (\d+)')
2929
regex_train_output = re.compile('Train net output #(\d+): (\S+) = ([\.\deE+-]+)')
3030
regex_test_output = re.compile('Test net output #(\d+): (\S+) = ([\.\deE+-]+)')
31-
regex_learning_rate = re.compile('lr = ([\.\d]+)')
31+
regex_learning_rate = re.compile('lr = ([-+]?[0-9]*\.?[0-9]+([eE]?[-+]?[0-9]+)?)')
3232

3333
# Pick out lines of interest
3434
iteration = -1

0 commit comments

Comments
 (0)