mjq11302010044 / RRPN

Arbitrary-Oriented Scene Text Detection via Rotation Proposals (TMM 2018)
Other
436 stars 141 forks source link

Floating point exception(core dumped). error #25

Open FakerYFX opened 6 years ago

FakerYFX commented 6 years ago

hello,I use my own training data ,when i run the script ./experiments/scripts/faster_rcnn_end2end.sh 0 VGG16 rrpn.i got the error:

./experiments/scripts/faster_rcnn_end2end.sh: line 78: 38172 Floating point exception(core dumped) ./tools/train_net.py --gpu ${GPU_ID} --solver models/${PT_DIR}/${NET}/faster_rcnn_end2end/solver.prototxt --weights data/imagenet_models/${NET}.v2.caffemodel --imdb ${TRAIN_IMDB} --iters ${ITERS} --cfg experiments/cfgs/faster_rcnn_end2end.yml ${EXTRA_ARGS}.

so how to solve this error,thanks

FakerYFX commented 6 years ago

have solved! not choose multi-class

gittigxuy commented 6 years ago

@xieyufei1993 ,could you tell me how to train my own dataset,could you please add show me your QQ to ask you some question?

FakerYFX commented 6 years ago

@gittigxuy i just use this function lib/rotation/data_extractor.py:get_ICDAR2017_mlt()to train my own data,you just need to prepare the images and gt.txt files ,in the txt file include 4 point positions,just like (x1,y1,x2,y2,x3,y3,x4,y4),hope to help you.

gittigxuy commented 6 years ago

@xieyufei1993 ,你在训练ICDAR2017_mlt的时候,遇到没有找到MSRA_TEST的问题了吗?我训练icdar2003的时候,已经生成了caffemodel,但是在测试阶段,报错说找不到MSRA_TEST,我查看了experiments/scripts/faster_rcnn_end2end.sh,用rrpn方法进行训练的时候,imdb=MSRA,请问这个怎么解决呢?

报错信息如下: Traceback (most recent call last): File "./tools/test_net.py", line 86, in imdb = get_imdb(args.imdb_name) File "/home/xuy/code/RRPN/tools/../lib/datasets/factory.py", line 37, in get_imdb raise KeyError('Unknown dataset: {}'.format(name)) KeyError: 'Unknown dataset: MSRA_TEST'

FakerYFX commented 6 years ago

@gittigxuy 测试阶段我用的是python ./tools/rotation_demo.py,用experiments/scripts/faster_rcnn_end2end.sh的test部分是会报错的,作者的评测部分的代码是没有放出来的。

gittigxuy commented 6 years ago

@xieyufei1993 ,可以留一个。联系方式吗?向你请教一些问题

FakerYFX commented 6 years ago

@gittigxuy QQ:2364835756

seedjack commented 6 years ago

你好,我想请问一下,我现在有1w张图片,要怎么用它来训练呢?作者说的的组织数据集又是什么意思,怎么操作?菜鸟不懂,希望指点一下. 十分感谢