Skip to content

Commit 9d815e3

Browse files
committed
log
1 parent bfadbef commit 9d815e3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ sh predict.sh
9595
```
9696
If works right, you will see this
9797
```
98-
load feature num: 34
98+
Load feature dict successfully
99+
sparse feature num: 34
100+
fieldid: 116 missid: 2
99101
fieldid: 6 missid: 9
100102
fieldid: 152 missid: 10
101103
fieldid: 9 missid: 3
102104
fieldid: 179 missid: 10
103-
fieldid: 116 missid: 2
104105
fieldid: 179 feanum: 11
105106
fieldid: 116 feanum: 3
106107
fieldid: 6 feanum: 10

src/deep_model.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ int main(int argc, char* argv[]) {
4848
std::cerr << "Failed to load dict protobuf" << std::endl;
4949
return 1;
5050
}
51-
std::cout << "load feature num: " << dict.featureid2sortid_size() << std::endl;
51+
std::cout << "Load feature dict successfully" << std::endl;
52+
std::cout << "sparse feature num: " << dict.featureid2sortid_size() << std::endl;
5253
for (::google::protobuf::Map<::google::protobuf::uint32, ::google::protobuf::uint64>::const_iterator iter = dict.field2missid().begin();
5354
iter != dict.field2missid().end(); iter++) {
5455
std::cout << "fieldid: " << iter->first << " missid: " << iter->second << std::endl;

0 commit comments

Comments
 (0)