Will this work on JUPITER NOTEBOOK PYTHON...PLS HELP..THANKS....
@mobeentariq6652
Жыл бұрын
Awesome tutorial. I have one question, can i use it on image which contains more than one sentence? Like 2 or 3 sentences.
@PyLessons
Жыл бұрын
Thanks! It would be way harder to train model on couple of sentences, but it would work. Haven't tried
@Desmond_Plays
2 күн бұрын
Sorry, I know this is out of the video scope. I couldn't find the annotations file for the IAM forms dataset, is there any place I can download it?
@PyLessons
Күн бұрын
Yes, I can't download this dataset also. Need to find a link where I could download at least similar dataset
@vkrts9176
Жыл бұрын
Can you suggest to some steps to extract information from a "BANK CHECK" like Payee name, Amount in words, Amount in digits, date, MICR Code etc .
@raghavsharma-ut7oy
Жыл бұрын
Thanks for sharing such a valuable content..
@PyLessons
Жыл бұрын
My pleasure!
@vkrts9176
Жыл бұрын
Awesome informational video.
@syndix
2 күн бұрын
is this using vision transformers by any chance?
@PyLessons
Күн бұрын
Hey, no, this was not using any vision transformers :)
@swapnasompalli
Жыл бұрын
Hello Sir, thanks for sharing this video and knowledge request your suggestion on the software that identifies the user handwriting style like (Cursive handwriting, Lucida etc) and suggest the improvements in Handwriting if there any mistakes in the handwriting styles. for example user writes word "Apple" in Cursive handwriting but if letter "e" is more squeezed, the software should identify the letter "e" and suggest "e" should be properly written... please suggest if you have any software or code... Thanks a lot once again.
@thangaraj0478
5 ай бұрын
Hi, This is Awesome, can I use this for other languages
@PyLessons
5 ай бұрын
Hey, Thanks! Yes you can use this for other languages, this tutorial is just an example
@nikenyulianaazen8488
Жыл бұрын
Awesome tutorials, hi sir, could you mind to explain how to calculate the accuracy of the model we have built🙏 and if the real text written on the picture is "i buy clothes" and the result of predicted text is "i buy clothed", how is the accuracy? Will it be totally not accurate or it will get 90% or more but not 100% accuracy?🙏🙏
@PyLessons
Жыл бұрын
Hey, that's why we use CER (Character Error Rate) and WER (Word Error Rate) metrics to get these results, but yes, more familiar sentence is lower the scores will be.
@edenrobin154
11 ай бұрын
@@PyLessons HEllo sir can you provide the dataset .IT seems their website is defunct so i cannot register a new email hence cant access the data.
@AnthonyGrau
6 ай бұрын
Hello, Thank you for your awesome work ! I'm a French developer and I actually transcribe some family papers dated between XIIIth and XIXth centuries (French and Latin). Could you give me some clues for contructing datasets suited to work with your code ? I'm beginning my investigations and I'm sure I'll eventually find a way to achieve the task on my own but your help could save me some time as I'm new to TensorFlow and PyTorch. You are also mentioning that you your model is training in 1h30. Could you share the technical specs of your harware so I can compare with mine ? Bravo once again. I hope to hear from you.
@PyLessons
6 ай бұрын
Yes, I tried to write code so it would work out of the box. As I remember, I trained it with GTX 1080TI gpu
@AnthonyGrau
5 ай бұрын
@@PyLessons Thank you for your answer. Next gen GPU will allow better training time :)
@ibraheem1224
Жыл бұрын
Can we get the tensor board graphs that you show in the end, in google colab?
@PyLessons
Жыл бұрын
I'll check if I still have them
@juanmoctezuma9225
Жыл бұрын
great tutorial! - but i have a question , if i download the giant IAM dataset -> train my model -> load my model / script into a streamlit web app , can I delete the IAM database after training my model locally or do I need to keep it so that my model continues to run? Im working on an OCR app that copies text from pdfs and converts it into string - thanks!
@PyLessons
Жыл бұрын
Its not that giant comparably. But answering your question, as long as you complete model training you don't need this dataset. it doesn't require dataset to make predictions ;)
@juanmoctezuma9225
Жыл бұрын
@@PyLessons thank you! cheers 🍻
@tejassimha4796
Жыл бұрын
A neural network is not a database, it does not refer back to anything. As long as you're training the model you will need the dataset. Once done the information is stored in the neural network in the form of weights.
@d.kvlogs565
2 ай бұрын
Hi
@d.kvlogs565
2 ай бұрын
I want your help regarding ocr app
@vkrts9176
Жыл бұрын
I'm able to get the prediction. How do I improve the prediction results?
@-HarshalMali
Жыл бұрын
Bro can you guide us
@-HarshalMali
Жыл бұрын
Could i get ur phone no or insta id i need ur help
@vkrts9176
Жыл бұрын
@@-HarshalMali Yes
@VENKADARAMANANP
Жыл бұрын
Awesome sir, could you please make another video on how to improve the accuracy rate of the same model?
@PyLessons
Жыл бұрын
Hey, way more data and try to improove model, thats all, i am not sure if its worth creating another video where everything would be the same
@ayilanaveensai1987
Жыл бұрын
Did you found the way bro ??
@ayilanaveensai1987
Жыл бұрын
After training, how can I use my own data input to predict/recognize. Where should I change, in which format & how to give the that input for prediction? How to give external images for this model sir, can you please say me!
@PyLessons
Жыл бұрын
There is inference script in tutorial, analyse it
@sondosaabed
8 ай бұрын
Did start with the loss inf? and then after the 20th epoch started to learn?
@PyLessons
8 ай бұрын
Yes, this is because of small dataset or weak neural network architecture. But it works, and people can move further with this :)
@VENKADARAMANANP
Жыл бұрын
I have a question. After training, how can I use my own data input to predict/recognize. Where should I change, in which format & how to give the that input for prediction?
@PyLessons
Жыл бұрын
Hey, example is given here: github.com/pythonlessons/mltu/blob/main/Tutorials/04_sentence_recognition/inferenceModel.py
@tommathew5148
Жыл бұрын
Hi, I'm implementing ctc on an attention encoder, and I want to jointly decode it with an attention decoder, after the encoder I added an output layer(train that with ctc) same thing with decoder(but train with cross entropy). but obviously the output shapes are diff, I want to do a linear combination of the outputs of the two, ctc gives me (batch,maxframelength, vocab size) and decoder gives me (batch, transcriptlength, vocab size), is there some step I'm missing? I can't figure it out. Great video btw😊
@PyLessons
Жыл бұрын
Hey, you should check my tutorial about transformers. I haven't tried to do what you do but everything sound logically. I think your decoder output is wrong (but not sure) - hard to say without looking at the code. Usually you will run forward pass on encoder one time, and on decoder side you'll need to iterate untill the end of sentence
@swaralijoshi3476
11 ай бұрын
Hi Actually I am facing the issue regarding the IAM dataset how much time it takes to get the verification email can you plz tell
@jenellpatchen1309
Жыл бұрын
hello, I have a question, how to continue the training of the model? I don't want to restart training the machine from scratch all over again,
@TheAIJokes
Жыл бұрын
Hi sir The tutorial was awsome but If the image is a one page handwritten text then what shoud we do...Please let me know......
@PyLessons
Жыл бұрын
With computer vision techniques, seperate each line and do recognition on these lines
@vaishalishiv5529
6 ай бұрын
Not able to download dataset from the link you mentioned, can you help me ?
@PyLessons
5 ай бұрын
You may be not able to access dataset website from your location, try to use vpn to access dataset
@vaishalishiv5529
6 ай бұрын
Also how to do labelling for my custom data?
@d.kvlogs565
2 ай бұрын
hey I am getting error in keras.callbacks module can tell me exactly which version of tensorflow and keras you have used here
@ai_alchemist1669
Ай бұрын
i am also facing the same if you resolved it tell me
@ayilanaveensai1987
Жыл бұрын
How to give external images for this model sir, can you please say me
@Sihaam_Sheik
Жыл бұрын
How to create handwritten image dataset for regional language
@PyLessons
Жыл бұрын
Get or create annotated dataset for that language :)
@avinashpraveen1758
Жыл бұрын
sir please tell me whether i can use this code to convert a whole page into textual format
@PyLessons
Жыл бұрын
You can't use it to convert whole page
@shravansalunkhe6626
11 ай бұрын
@@PyLessons Can you make tutorial to do for whole page Please coz I'm doing this for my major project and not getting code anywhere
@MonishaBM-rf6qk
3 ай бұрын
In which folder we want to store train model pls tell me it is showing error
@raghavendrakowtal9453
Ай бұрын
Please can you share the link of dataset
@hearttoheart3879
Жыл бұрын
can we convert these recognize text in to voidable? using raspberry?
@PyLessons
Жыл бұрын
can you give more details? voidable?
@hearttoheart3879
Жыл бұрын
@@PyLessons I want to make this for blind then I need voice output
@computer9921
4 ай бұрын
Hi there, how i make propject where i insert handwritten pdf and get a pdf with text converted .
@PyLessons
4 ай бұрын
It is way harder than you think, and I suppose if you ask, you haven't done any research yet
@-HarshalMali
Жыл бұрын
Can we convert it into tflite for android implementation
@PyLessons
Жыл бұрын
I haven't tried, but yes, I don't know why it shouldn't be possible
@nahushs
Жыл бұрын
Hi bro I have a question there is no such library as mltu.tensorflow. How can i resolve this ??
@PyLessons
Жыл бұрын
install it
@nahushs
Жыл бұрын
@@PyLessonsI'm really sorry but I have installed the mltu library and tensorflow 2.10, all functions are there except mltu.tensorflow and mltu.utils and mltu.annotations can u tell me where to get those files?
@swaralijoshi3476
11 ай бұрын
Hi I am facing the issue regarding that IAM dataset . How much time it take to get the verification email
@PyLessons
11 ай бұрын
No idea, for me it works fine
@nnprasannakumar5618
3 ай бұрын
we are not able to download the dataset
@PyLessons
3 ай бұрын
Need to find another source to download it then :/ I don't have another link
@hemantchauhan6437
7 ай бұрын
NEED HELP! I am making a website where user can upload a pdf but I want that pdf to upload only if that pdf has images of only HANDWRITTEN text. Thank you for reading.
@sandhyamourya8041
3 күн бұрын
U got the solution??
@hemantchauhan6437
3 күн бұрын
@sandhyamourya8041 No brother.. I went with uploading pdfs, which will be verified by admin
@sandhyamourya8041
3 күн бұрын
@@hemantchauhan6437 just a question, what will u do with the handwritten text pdf on ur website?
@hemantchauhan6437
2 күн бұрын
@@sandhyamourya8041I wanted to upload handwritten notes on my website.
@AyenTorres-we9gp
Ай бұрын
Can you send me another link for the data set? i can't open the link
@abhaysharma4605
Ай бұрын
broo did you found any other alternative cause the dataset link can be opened via a VPN but for downloading you'd have to register and for that a verification link will be sent to your email which is not coming in my case!!!
@abhinavkotagiri6320
11 ай бұрын
I registered in the site(IAM Dataset)but i am not able to access the database.There are login issues
@PyLessons
11 ай бұрын
not sure, for me it works fine
@manasupadhyaya4346
10 ай бұрын
@@PyLessons could you make a drive or something from where we can download. because even i cant access
@valorantgopro6649
11 ай бұрын
i can't access the website to download datasets, can you give me a folder on gg drivers or smth so i can download from that. Thanks all guys.
@krishnasharma657
8 ай бұрын
Hey u got the folder??
@abhiramenugula2903
2 ай бұрын
bro could you please send these links of the dataset those are very much needed for me
@kirthanr4496
5 ай бұрын
Hi I am not able to access the website, does it require a vpn
@kirthanr4496
5 ай бұрын
NVM, just found out you need a VPN to access from India
@PyLessons
5 ай бұрын
Great! Because I can access it from my location I didn't knew that you can't access it from other locations
@kirthanr4496
5 ай бұрын
Hey I could not download it, could you please send it to me??
Awesome sir, i got this error when i try to train the model ...... TypeError: Input 'y' of 'Less' Op has type int64 that does not match type int32 of argument 'x'.
@PyLessons
Жыл бұрын
Install mltu the right version, it may be the issue
@omarzain3292
Жыл бұрын
@@PyLessons same error, i used mltu 0.1.5 version
@PyLessons
Жыл бұрын
@@omarzain3292 thanks, I will check, you may try 0.1.6 version
@kalanabimsara1213
Жыл бұрын
1000 epoches are essntial for traing? and what amout of time do i wait to train the mode sir?
@PyLessons
Жыл бұрын
Hey Sir, I think you haven't watched complete video or haven't read my text version tutorial. For this you use validation dataset, and you stop training when your model achieves best point within this validation dataset
@karanrathi7073
Жыл бұрын
How to print val _accuracy for each epoch if i add in the metrics it is giving error
@PyLessons
Жыл бұрын
How you try to do it? if you try to add metric as metrics=['accuracy'] it may not work because of CTC loss, you can try metrics=['sparse_categorical_accuracy'], I haven't tried but it should work
@akhiljohn8892
Жыл бұрын
I finished training, but where foes the output get showed. Pls help .
@PyLessons
Жыл бұрын
you mean where model is saved?
@chaimaafaouzi2514
Жыл бұрын
please how much time training take??
@harshinikaredla5758
Жыл бұрын
I installed the mltu correctly but getting a "No module named 'mltu.utils'". Rest of the mltu modules were imported without any issues. Could you please help me how to resolve this?
@PyLessons
Жыл бұрын
What version of mltu?
@harshinikaredla5758
Жыл бұрын
@@PyLessons version 0.1.5
@PyLessons
Жыл бұрын
Thanks, there was a bug, and no one mentioned it... I released 0.1.7 version, try it now
@harshinikaredla5758
Жыл бұрын
@@PyLessons Yes this version is working. Thanks a lot!!☺
@temepc
27 күн бұрын
where can we get the github repo?
@PyLessons
25 күн бұрын
its in description
@-HarshalMali
Жыл бұрын
Could u tell comand how to save the modal
@vkrts9176
Жыл бұрын
Yes
@PyLessons
Жыл бұрын
Hey, its like a standard way, right now model is saves by callbacks
@ikerluqup5661
2 ай бұрын
the dataset cannot be downloaded ._ .
@ELECTRONICS_TIMES
Жыл бұрын
Sir, i am getting< No module named 'onnx' >error. What i have to do?
@PyLessons
Жыл бұрын
Pip install onnx
@ELECTRONICS_TIMES
Жыл бұрын
Sir, I want to make correction system so please tell me how to do. As of my knowledge I think these are steps involved in it, so plz tell me and suggest me and help me. 1. Capturing the real-time paper or scanning. 2. Sentence recognisation 3. Using NLP to get keywords from recognised sentences 4. Creating a dataset that includes keywords 5. Tokenizing and comparing the recognized data with dataset. 6. Allocating marks If these are wrong please can you tell me? And I had downloaded ascii.tgz and sentences.tgz files from that website but I can't getting extracting files how sir?
@nahushs
Жыл бұрын
Hi sir I'm really sorry but I have installed the mltu library and tensorflow 2.10, all functions are there except mltu.tensorflow and mltu.utils and mltu.annotations can u tell me where to get those files?
@PyLessons
Жыл бұрын
what mltu version you installed?
@nahushs
Жыл бұрын
@@PyLessons mltu 0.1.6
@PyLessons
Жыл бұрын
install newest version and follow tutorial code that is on github
@nahushs
Жыл бұрын
Thanks sir it worked but how can I lower the training speed as it is taking 2 hours to train 1 epoch if I want to do 1000 then it will take more can u help me out?
@PyLessons
Жыл бұрын
@@nahushs make sure to train on GPU, and early stopping will work, it wont train for 1000 epochs
@adhirs1745
5 ай бұрын
How to run this code?
@PyLessons
4 ай бұрын
I gave all step by step details about this
@SilvestreSamaicon
Жыл бұрын
instale mltu ,pero no me reconoce mltu.losses ni callbacks y tampoco metrics alguna respuesta o les paso lo mismo estoy con python 3.11
@PyLessons
Жыл бұрын
?
@presisprem
Жыл бұрын
error showing Exception: Model path (Models/04_sentence_recognition\202303182217\model.onnx) does not exist
@PyLessons
Жыл бұрын
You need to download a model from the link in my text version tutorial or train your own model
@presisprem
Жыл бұрын
@@PyLessons Thank you sir,i got the output😀
@fekirsouhaib3542
Жыл бұрын
hi i have a problem in mltu " ERROR: Cannot install mltu==0.1.3, mltu==0.1.4, mltu==0.1.5, mltu==0.1.6, mltu==0.1.7, mltu==1.0.0, mltu==1.0.1, mltu==1.0.2, mltu==1.0.3, mltu==1.0.4, mltu==1.0.5, mltu==1.0.6, mltu==1.0.7 and mltu==1.0.8 because these package versions have conflicting dependencies. " What's the solution
@PyLessons
Жыл бұрын
Thats strange, what OS you use and what python version?
@fekirsouhaib3542
Жыл бұрын
@@PyLessons I fixed it thanks , but it doesn't work it needs datasets
@ishitamahajan2571
Жыл бұрын
Hello Sir, I am getting the error FileNotFoundError: [Errno 2] No such file or directory: 'Models/04_sentence_recognition/202301131202/configs.yaml' How Do I resolve this? Can you please help. Thankyou
@PyLessons
Жыл бұрын
download the model file together with configs?
@meershajafar7494
11 ай бұрын
@@PyLessons actually its not with the downloads thats the same thing that im facing too
@aiminnur9247
5 ай бұрын
can you share your datasets sir? because not able to download dataset from the link you mentioned
@PyLessons
5 ай бұрын
You may be not able to access dataset website from your location, try to use vpn to access dataset
@imnotossy6436
5 ай бұрын
@@PyLessons It does not send a verification link to our email
@sohambhole4288
Жыл бұрын
how to solve error : artefact not found
@PyLessons
Жыл бұрын
What OS you use?
@sohambhole4288
Жыл бұрын
@@PyLessons Windows 11 Home Single Language
@PyLessons
Жыл бұрын
@@sohambhole4288 stow package doesnt work with win11, I'll make a fix in a week, but you can replace stow package code with os.path package if you cant wait
@sohambhole4288
Жыл бұрын
@@PyLessons ohk thanks
@yashkewlani2878
Жыл бұрын
@@PyLessons Sir please make a detailed video for this error as lots of folks getting the same error
@sohambhole4288
Жыл бұрын
How to solve Value error: not enough value to unpack
@PyLessons
Жыл бұрын
need more details
@sohambhole4288
Жыл бұрын
@@PyLessons File "C:\Users\Soham\AppData\Local\Programs\Python\Python310\lib\site-packages\mltu\dataProvider.py", line 215, in __getitem__ batch_data, batch_annotations = zip(*[augmentor(data, annotation) for data, annotation in zip(batch_data, batch_annotations)]) ValueError: not enough values to unpack (expected 2, got 0)
@PyLessons
Жыл бұрын
You changed something in code? Because you are not giving any data to dataProvider "(expected 2, got 0)"
@sohambhole4288
Жыл бұрын
@@PyLessons No I have just changed stow to os.path package
@PyLessons
Жыл бұрын
ok, I see its not enough to do this change, tomorrow I'll look at it and post you a link to fixed code
@MateuszGajda-n2w
Жыл бұрын
Hi, I am trying to train my model on my database according to the tutorial and sometimes the training takes quite a long time so I wanted to load the model saved by callback with load_model("{path_to_model}/model.h5") and continue training where I left off. Unfortunately, I get an Unknown loss function error: CTCloss, which I tried to solve using the custom_objects parameter, but it caused another error that I couldn't solve: CTCloss.__init__() got an unexpected keyword argument 'reduction'. Then I tried to do it by saving the file in .tf format and it caused an error related to the metrics and also after using custom_objects and passing these metrics the error looped and it was related to the metrics arguments (which I entered). So Is it possible to somehow load a saved model while training is interrupted and continue training it so that it stays in accordance with the tutorial? (For example, I have epoch 53 /1000 and I see that the best value yet was saved to the model.h5 file at 52 epoch so I stop learning and then I want to load the saved model at epoch 52 and continue from there)
@PyLessons
Жыл бұрын
Open issue on github, will be easier to solve this
@alihamama7036
Жыл бұрын
when i try to train the model i face this error stow.exceptioncould s.ArtefactNotFound: Couldn't locate artefact /Users/aliha/AppData/Local/Temp/tmpg50_k80k could u please help me with it
@PyLessons
Жыл бұрын
what is your OS?
@alihamama7036
Жыл бұрын
@@PyLessons thanks for replying it's win11
@PyLessons
Жыл бұрын
win11 has problems with stow package, in future versions I'll try to fix these issues
@yashkewlani2878
Жыл бұрын
@@PyLessons please fix this issue as soon as possible sir we have deadlines
Пікірлер: 168