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

total-text download images,however,there is no some mat files, how to get that,thanks #48

Open
smartcatdog opened this issue Apr 27, 2020 · 3 comments

Comments

@smartcatdog
Copy link

smartcatdog commented Apr 27, 2020

thanks for your sharing, however, while i download total-text files from url:
https://docs.google.com/uc?export=download&id=1bC68CzsSVTusZVvOkk7imSZSbgD1MqK2
and unzip it. and run train_textsnake.py, the errors occur:
FileNotFoundError: [Errno 2] No such file or directory: 'data/total-text/gt/Train/poly_gt_img697.mat'

@princewang1994
Copy link
Owner

@smartcatdog I had made total text data available at my google drive so you can directly download by running
this file.
With some unknown error, you can also manually download from train_data and gt.

@blueclowd
Copy link

Hi @princewang1994 ,

I found that these files have 3 vertices only polygons which cause the scripts failed:

poly_gt_img724.mat
poly_gt_img718.mat
poly_gt_img1301.mat
poly_gt_img1075.mat
poly_gt_img914.mat
poly_gt_img914.mat
poly_gt_img1474.mat
poly_gt_img912.mat
poly_gt_img1304.mat
poly_gt_img1489.mat
poly_gt_img720.mat
poly_gt_img1160.mat
poly_gt_img949.mat
poly_gt_img1028.mat
poly_gt_img1002.mat
poly_gt_img1407.mat
poly_gt_img1239.mat
poly_gt_img769.mat
poly_gt_img839.mat
poly_gt_img1034.mat
poly_gt_img981.mat
poly_gt_img759.mat
poly_gt_img1422.mat
poly_gt_img1422.mat
poly_gt_img1231.mat
poly_gt_img1390.mat
poly_gt_img1390.mat
poly_gt_img1390.mat
poly_gt_img951.mat
poly_gt_img825.mat
poly_gt_img825.mat
poly_gt_img825.mat
poly_gt_img825.mat
poly_gt_img80.mat
poly_gt_img1268.mat
poly_gt_img1281.mat
poly_gt_img1083.mat
poly_gt_img114.mat
poly_gt_img1444.mat
poly_gt_img1253.mat
poly_gt_img1079.mat
poly_gt_img1078.mat
poly_gt_img1078.mat
poly_gt_img879.mat
poly_gt_img1520.mat
poly_gt_img106.mat
poly_gt_img700.mat

Would you mind take a look? Thanks

@princewang1994
Copy link
Owner

@blueclowd I had ignore polygons with too few vertices (<4) with this line, this should not cause errors. You can try to run with debug mode and see what cause the error.

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

3 participants