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

Outdated example .grt files #139

Open
narner opened this issue Aug 20, 2017 · 0 comments
Open

Outdated example .grt files #139

narner opened this issue Aug 20, 2017 · 0 comments

Comments

@narner
Copy link
Contributor

narner commented Aug 20, 2017

It looks as though the example data-sets may be out of date with some of the latest changes in the GRT. At the top of the example datasets, there's the line GRT_LABELLED_CLASSIFICATION_DATA_FILE_V1.0.

In line 2326 of GestureRecognitionPipeline.cpp, there's the following check:

	//Load the file header
	file >> word;
	if( word != "GRT_PIPELINE_FILE_V3.0" ){
        errorLog << __GRT_LOG__ << " Failed to read file header" << std::endl;
		file.close();
        return false;
	} 

whereas the top of the example datasets contain the following line:

GRT_LABELLED_CLASSIFICATION_DATA_FILE_V1.0

So, when importing one of the example datasets into an instance of a pipeline:

virtual bool load(const std::string &filename) override;

The result will always be false.

@narner narner changed the title Outdated example data-sets Outdated example .grt files Aug 20, 2017
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

No branches or pull requests

1 participant