Comments (9)
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.
from invoicenet.
Thanks for the quick reply
I just wanted to test it real quick, so i only made a couple of test files for training:
Each JSON only contains 4 different values as well
And yes, i did prepare the data before testing:
from invoicenet.
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.
from invoicenet.
That did the job, thanks a lot.
One last question tho, is it normal for it to take this long with such a small batch? I've had it running for ~1 hour now and it's finished:
And i definitely don't have a bad pc.
Just curious if this is to be expected so i don't end up waiting a day for it to complete only for it to not be intended.
from invoicenet.
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 setup.py
script such that it automatically detects if CUDA is available and will install tensorflow-gpu if it is. Otherwise, it defaults to the tensorflow cpu bindings. Can you check the tensorflow logs to see if you're actually using the GPU if you have one?
from invoicenet.
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
from invoicenet.
I am getting the same error, although I have more than 70 processed data in train and 20 in val. @naiveHobo
from invoicenet.
can you
tensorflow
please can you explain that how can i solve that, still facing same on macos using paython 3.7. @naiveHobo
from invoicenet.
training is not enough,
sorry, but I still didn't understand what data to insert for some validation data
from invoicenet.
Related Issues (20)
- Index HOT 1
- New Thread in training
- Predict Accuracy
- How to extract the address information from the Invoice HOT 1
- IndexError: list index out of range HOT 2
- Multiple Fields training HOT 1
- Time Complexity of Training each field
- How to change Tesseractlanguage to french ?
- Multiple pages Training
- run application in docker container
- Project dead? HOT 3
- Data Preparation
- Training data for the model
- Training: ValueError: Cannot reshape a tensor
- Installation Problem HOT 11
- Error installing on Ubuntu
- Want to prepare a dataset HOT 1
- Can not predict on the Centos 7 platform
- Not able to prepare Train Data HOT 1
- illegal hardware instruction on m1 mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invoicenet.