-
Notifications
You must be signed in to change notification settings - Fork 383
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 when initializing training #14
Comments
It looks like it's not able to find any prepared data for training. What is the size of your training dataset? Did you prepare the data before training? The most likely reason I can think of is that the size of your training dataset is smaller than the batch size you're using. |
Ah right, tensorflow dataloader throws that error since it is expected there would be some validation data. This is definitely an error that the user should at least be warned about, so thank you for pointing it out. For now, you need at least one sample for validation to satisfy the dataloader so having a dataset of at least (batch_size + 1) samples should work. |
With a batch size of 4 I usually get about 0.9-1.0 batches/s on an Nvidia GTX 1050ti for an amount based field. For a general field, I get about 1.0-1.1 batches/s. It drops to about 0.65 and 0.45 respectively with a batch size of 8. Do you have a GPU? Is CUDA 10.1 installed? I've written the |
That's my issue - i don't have a dedicated GPU on my work laptop. I just didn't expect it would be this rough on it given the limited amount of training data i threw at it, but if it's normal then i just need to be a bit patient |
I am getting the same error, although I have more than 70 processed data in train and 20 in val. @naiveHobo |
can you
please can you explain that how can i solve that, still facing same on macos using paython 3.7. @naiveHobo |
training is not enough, |
Whenever i train the model, I can prepare the data, and its located in the correct place, but every time i start the training i get an exception:
I've tried everything i could think of, but I'm unable to get it to work.
Any tips would be much appreciated
Thanks in advance
The text was updated successfully, but these errors were encountered: