Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data load for inference #788

Merged
merged 5 commits into from
Mar 30, 2018
Merged

data load for inference #788

merged 5 commits into from
Mar 30, 2018

Conversation

zhxfl
Copy link
Member

@zhxfl zhxfl commented Mar 28, 2018

Resolve #661

@zhxfl zhxfl requested a review from pkuyym March 28, 2018 17:09
@zhxfl zhxfl requested a review from kuke March 28, 2018 17:42
@@ -31,16 +31,18 @@ class SampleInfo(object):
label_bin_path (str): File containing the label data.
label_size (int): Byte count of the sample's label data.
label_frame_num (int): Label number of the sample.
sample_name (str): key of the sample
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key ---> Key

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

feature_desc_lines = open(feature_desc_path).readlines()
label_desc_lines = None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that label_desc can be ignored?

Copy link
Collaborator

@kuke kuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kuke kuke merged commit 9e1459d into PaddlePaddle:develop Mar 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants