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

nb_training_samples is not define in the VTSFEmain.py #2

Open
DermyO opened this issue Mar 15, 2018 · 0 comments
Open

nb_training_samples is not define in the VTSFEmain.py #2

DermyO opened this issue Mar 15, 2018 · 0 comments

Comments

@DermyO
Copy link

DermyO commented Mar 15, 2018

Hello @mchaveroche , the variable nb_training_samplesis not defined in the file main.py.
In one commit you did:

(-) nb_training_samples = 6
(-) data, remains = lr.data_driver.get_data_set(nb_training_samples, shuffle_samples=False)
(+) training_indices = list(range(test_index))+list(range(test_index+1,10))
(+) test_indices = []
(+) for index in range(lr.data_driver.nb_samples_per_mov):
(+) if index not in training_indices:
(+) test_indices.append(index)
(+) data, remains = lr.data_driver.get_data_set(training_indices, shuffle_samples=False)

but you continue to use this variable. I guess we need to change the name of the variable "nb_training_samples" to "training_indices", right?

@DermyO DermyO changed the title nb_training_samples is not define in the main.py nb_training_samples is not define in the VTSFEmain.py Mar 15, 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

No branches or pull requests

1 participant