table-detect
table-detect copied to clipboard
table detect(yolo) , table line(unet)
表格横竖线检测时候,在tabel_line中,加载完模型后,model.predict(np.array([np.array(inputBlob) / 255.0]))计算时候内存增长特别大,但是得到结果后内存恢复,请问计算时候内存瞬间增长特别大甚至有时候增长0.7g正常嘛,求救
作者代码里train.py,训练是在table-line.h5 基础上迁移学习,我使用自己的数据,table_line.py,注释model.load_weights(tableModeLinePath),训练出来的模型,在运行预测table_ceil.py,报错,运行table_line.py,不报错,但是预测图片没有任何线条 `GeForce GTX 1080 Ti, pci bus id: 0000:00:06.0, compute capability: 6.1) 1 Physical GPUs, 1 Logical GPUs 2020-10-15 17:30:16.059743: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 Traceback (most...
训练准确率上不去
请问一下,为什么训练自己的数据,准确率上不去,在0.5左右震荡 ?


尊敬的作者: 您好。 下载了您预训练好的表格线识别模型,效果挺好。想请教一下,您训练table-line这个模型,用的什么数据集。我看到您的代码目录里有5张用于训练表格线的图片及标注。难道就只是用这5张图片训练的吗?
https://github.com/chineseocr/table-detect/blob/92488f30ffaf486d29791aab63802beeb1eaca32/utils.py#L180 **稳定触发报错的例子:** 1.ColsLines[i] = (189,5,189,92);ColsLines[j] = (202, 92, 202, 396),即(x2,y2) = (189, 92),(x3,y3) = (202, 92),r = sqrt((x2, y2), (x3, y3)) < alph 成立 2.会执行newColsLines.append([x2, y2, x3, y3]),但此处显然[189,92,202,92]是一条横线 3.newColsLines列表里混入横线后,运行到line_to_line函数时,只要与[189,92,202,92]计算的另一条横线y值相同,就会导致fit_line时直线系数A为0 https://github.com/chineseocr/table-detect/blob/92488f30ffaf486d29791aab63802beeb1eaca32/utils.py#L228...
### OSError: Unable to open file (unable to open file: name = 'models/table-line.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)