diff options
Diffstat (limited to 'tools/extract_features.cpp')
-rw-r--r-- | tools/extract_features.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract_features.cpp b/tools/extract_features.cpp index 364c436d..1ffbfbed 100644 --- a/tools/extract_features.cpp +++ b/tools/extract_features.cpp @@ -157,7 +157,7 @@ int feature_extraction_pipeline(int argc, char** argv) { for (int d = 0; d < dim_features; ++d) { datum.add_float_data(feature_blob_data[d]); } - int length = snprintf(key_str, kMaxKeyStrLength, "%d", + int length = snprintf(key_str, kMaxKeyStrLength, "%010d", image_indices[i]); string out; CHECK(datum.SerializeToString(&out)); |