-
Notifications
You must be signed in to change notification settings - Fork 6
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
Can't install under miniconda #3
Comments
Changed 'torch==1.13.0+cu116' to 'torch>=1.13' etc. and it installed. Now it hangs since about 40 minutes with all my GPU at 100% on:
|
Lowered a little the batch size of train/eval and the trainer started quickly. |
How to interfere with the model after training? |
I'm here right now, should I stop training or keep it going?
|
Any help on how to interfere with the trained model? I know is a VIT model but as far as I can see is "modded". |
Hi, thank you for your interest in our project! I'm glad to hear that you've already solved some problems. However, I didn't quite understand your question about 'how to interfere.' Did you mean 'how to inference after training'? If so, you can run test.py using the command in the read.sh file: python3 test.py --exp-name read Feel free to ask for help if you have any other questions~ Best, |
Thank you for your reply! I mean after training, how can I infere with the model to recognize from an image, not testing.
|
I came up with this code, I'm not sure if I'm correct, should
|
Update: Defenitely I'm doing something wrong. Any time I run the script I get a different output:
|
I could use some help. |
Ok, with such support I think I just have to move on... |
Hi, in the valid.py line 42 Hope it helps, |
Isn't there a script to just have an image and recognize the text from the new trained model? I don't want to re-validate, I just want to A simple sample of code on how to load and use the model? |
Hello, may I ask if you have reproduced the code of this paper? I may have some questions that I need to ask you? |
I tried to, but there is no code for inference and mine doesn't work. No support whatsoever so is a waste of time. |
Thank you for sharing. I have read the comments above and would like to know if you can train this model. However, I am still unable to run train.py at the moment |
I learned from the comments above that you have successfully trained this model, and I would like to know how you trained it. Is the result consistent with the paper? |
Yes I have trained it but I can't say if the result is consistent or not because I can't see the result. This model doesn't have a script or a described method in the source on how to infere or predict with it. Look in the github sources in this repo, you'll see. |
Thank you for sharing. It took me several days but I couldn't run this model. After listening to your advice, I think it's time for me to give up. |
You are right! There is no example on how to run it. I asked the dev and look at his asnwer above, useless... |
Hey guys~ don't give up, I am here. I will solve all of your problems one by one. Please stop spreading defamatory comments…
|
Thank you for your reply. Currently, I am busy creating a webpage and will probably review the model again next week. If I encounter any problems, I will contact you. I am truly grateful for your reply. |
No defamation or offence intended, we just want to use your code but there is no info about that. |
Hey there! I’ve added the new example.py script in our latest update. You can grab the checkpoint from Google Drive and load it directly into our model. Regarding early stopping, we didn’t use it during training. If you feel that 100k iterations is too long, you can cut it down to 40k. On the READ2016 dataset, the CER just went from 3.9 to about 4.0 by 40k iterations, which isn’t a big difference. |
I tried your script with my finetuned model, I get this:
UPDATE: I didn't look well, I changed
|
@YutingLi0606 do you work on or do you know any good segmentation model for
|
Is there a way to extract the UPDATE: Yes, it is.
|
The text was updated successfully, but these errors were encountered: