File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ class Layer {
93
93
}
94
94
95
95
/* *
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
97
97
* the shapes of the bottom blobs.
98
98
*
99
99
* @param bottom the input blobs, with the requested input shapes
@@ -102,7 +102,7 @@ class Layer {
102
102
* This method should reshape top blobs as needed according to the shapes
103
103
* of the bottom (input) blobs, as well as reshaping any internal buffers
104
104
* and making any other necessary adjustments so that the layer can
105
- * accomodate the bottom blobs.
105
+ * accommodate the bottom blobs.
106
106
*/
107
107
virtual void Reshape (const vector<Blob<Dtype>*>& bottom,
108
108
const vector<Blob<Dtype>*>& top) = 0;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def parse_log(path_to_log):
28
28
regex_iteration = re .compile ('Iteration (\d+)' )
29
29
regex_train_output = re .compile ('Train net output #(\d+): (\S+) = ([\.\deE+-]+)' )
30
30
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]+)? )' )
32
32
33
33
# Pick out lines of interest
34
34
iteration = - 1
You can’t perform that action at this time.
0 commit comments