Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
Merge branch 'master' into learning-rate-schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
ruimashita authored Dec 27, 2018
2 parents 1b82b44 + 6795610 commit 5c0ea16
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
__pycache__/

# project
saved/
*/saved/
dataset/
config/
Expand Down
4 changes: 2 additions & 2 deletions dlk/backends/src/tb/unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bool parse_input_type(int argc, char const *argv[], input_type &in_type) {

if (argc != 2) {
cout << "Error: 1st arg " << argv[0] << " is not supported..." << endl;
cout << "Available input type: <sequential|random|add_1>" << endl;
cout << "Available input type: <sequential|random|all_1>" << endl;
flag = false;
}

Expand All @@ -36,7 +36,7 @@ bool parse_input_type(int argc, char const *argv[], input_type &in_type) {
} else if (std::strcmp(argv[1], "all_1") == 0) {
in_type = ALL_1;
} else {
cout << "Error: input type is not supported." << endl << "Available input type: <sequential|random|add_1>" << endl;
cout << "Error: input type is not supported." << endl << "Available input type: <sequential|random|all_1>" << endl;
flag = false;
}

Expand Down
1 change: 1 addition & 0 deletions lmnet/lmnet/datasets/image_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def classes(self):
"""Returns the classes list in the data set."""

classes = os.listdir(self.data_dir)
classes = [class_name for class_name in classes if class_name != ".DS_Store"]
classes.sort(key=lambda item: item.lower())

return classes
Expand Down

0 comments on commit 5c0ea16

Please sign in to comment.