TextBoxes_plusplus icon indicating copy to clipboard operation
TextBoxes_plusplus copied to clipboard

training parameters mismatch

Open freshcoderman opened this issue 6 years ago • 5 comments

I tried to train Textboxes_plusplus with my own dataset based on the pre-trained model on SynthText, but encountered the following error.

Cannot copy param 0 weights from layer 'conv4_3_norm_mbox_loc'; shape mismatch. Source param shape is 240 512 3 5 (1843200); target param shape is 144 512 3 5 (1105920). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.

can you tell me which file should I modify so that they match each other?

freshcoderman avatar May 14 '18 05:05 freshcoderman

May I ask you how to transform your image to xml.file? Thanks a lot .

Lily-two avatar May 15 '18 10:05 Lily-two

  1. generate xml format annotation file of ur annotation data, with pascal-voc format
  2. create train.txt / test.txt files by concatenating image and xml file path
  3. generate lmdb file for training @Lily-two

YefeiGao avatar May 15 '18 15:05 YefeiGao

Get it. Thank you. @YefeiGao

Lily-two avatar May 16 '18 02:05 Lily-two

@YefeiGao Are there any requirements for the sequence four vertexes in xml file? Like in clockwise or counterclockwise?

tianranwangcs avatar Jun 04 '18 03:06 tianranwangcs

hello, I encountered the same problem,can i ask you how to solve it ? Thanks a lot

zq1335030905 avatar Nov 08 '18 03:11 zq1335030905