Open Fourmiiy opened 6 years ago
Traceback (most recent call last): File "ctpn/train_net.py", line 36, in restore=bool(int(cfg.TRAIN.restore))) File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/fast_rcnn/train.py", line 232, in train_net sw = SolverWrapper(sess,network, imdb, roidb, output_dir,log_dir, pretrained_model=pretrained_model) File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/fast_rcnn/train.py", line 26, in init self.bbox_means, self.bbox_stds = rdl_roidb.add_bbox_regression_targets(roidb) File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/roi_data_layer/roidb.py", line 56, in add_bbox_regression_targets max_overlaps = roidb[im_i]['max_overlaps']
I delete the file cache ,but it doesn't work , could anyone help me ? thanks
delete the foler text-detection-ctpn/data/cache may helps.
delete the foler text-detection-ctpn/data/cache works for me. thanks!
Traceback (most recent call last): File "ctpn/train_net.py", line 36, in
restore=bool(int(cfg.TRAIN.restore)))
File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/fast_rcnn/train.py", line 232, in train_net
sw = SolverWrapper(sess,network, imdb, roidb, output_dir,log_dir, pretrained_model=pretrained_model)
File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/fast_rcnn/train.py", line 26, in init
self.bbox_means, self.bbox_stds = rdl_roidb.add_bbox_regression_targets(roidb)
File "/home/chendali1/gaoshengjun/text-detection-ctpn-master/lib/roi_data_layer/roidb.py", line 56, in add_bbox_regression_targets
max_overlaps = roidb[im_i]['max_overlaps']