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

error while training. #2

Open
BlcaKHat opened this issue Sep 11, 2018 · 3 comments
Open

error while training. #2

BlcaKHat opened this issue Sep 11, 2018 · 3 comments

Comments

@BlcaKHat
Copy link

validation

I got this error .

@plabadille
Copy link
Owner

Hello,

it seem your validation_sample_count is undefined (e.g None in python). This mean you probably have a format issue with your hdf5 file. Have you generate your hdf5 file using my script serialize_dataset_to_hdf5.py ?

Note h5 weights file and a serialized dataset in hdf5 ARE NOT the same things

@BlcaKHat
Copy link
Author

yeah, I generated using your script. and text file was similar to what you mentioned.

@plabadille
Copy link
Owner

plabadille commented Sep 11, 2018

I can see on your screenshot /Documents/image_classifier/serialized_datasets/helmet
Your serialized dataset filename should be : helmet.hdf5 (it seem you named it helmet)
Then you should call the script like this : python train_with_hdf5.py helmet

If this is not the issue :
Are you using the last version of the scripts on the repository ? I have
done fixes since the release

Otherwise :

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

2 participants