Hello, I made my own dataset in the same way as the ctw1500 dataset. I encountered the following error during training. How should I train my own dataset? Thank you!
I0506 12:51:41.890240 5382 net.cpp:893] Ignoring source layer prob
Traceback (most recent call last):
File "./tools/train_net.py", line 118, in
max_iters=args.max_iters)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
pretrained_model=pretrained_model)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
self.solver.net.layers[0].set_roidb(roidb)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
self._shuffle_roidb_inds()
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
widths = np.array([r['width'] for r in self._roidb])
KeyError: 'width'
Hello, I made my own dataset in the same way as the ctw1500 dataset. I encountered the following error during training. How should I train my own dataset? Thank you!
I0506 12:51:41.890240 5382 net.cpp:893] Ignoring source layer prob Traceback (most recent call last): File "./tools/train_net.py", line 118, in
max_iters=args.max_iters)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
pretrained_model=pretrained_model)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
self.solver.net.layers[0].set_roidb(roidb)
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
self._shuffle_roidb_inds()
File "/home/user/.conda/envs/yffCaffe/Curve-Text-Detector-master/tools/../lib/
widths = np.array([r['width'] for r in self._roidb])
KeyError: 'width'