While training py-faster-rcnn on a custom dataset following the instructions at https://github.com/deboc/py-faster-rcnn/blob/master/help/Readme.md
I encountered some errors like
AttributeError: 'numpy.ndarray' object has no attribute 'toarray' in py-faster-rcnn
which I managed to bypass by editing https://github.com/rbgirshick/py-faster-rcnn/blob/master/lib/roi_data_layer/roidb.py
gt_overlaps = roidb[i]['gt_overlaps']
gt_overlaps = sp.sparse.csr_matrix(gt_overlaps).toarray()
However, during the training process, I received a warning twice
RuntimeWarning: invalid value encountered in log targets_dw = np.log(gt_widths / ex_widths)
in the file https://github.com/rbgirshick/py-faster-rcnn/blob/master/lib/fast_rcnn/bbox_transform.py
Are the results going to be affected by this ?
Do I need to do something different ?