simple-faster-rcnn-pytorch icon indicating copy to clipboard operation
simple-faster-rcnn-pytorch copied to clipboard

How to train Faster R-CNN on my own custom dataset and changing the RPN loss functions?

Open meshghi opened this issue 4 years ago • 2 comments
trafficstars

Hello. I want to:

1- train Faster RCNN on my own custom dataset. 2- use the pre-trained Faster RCNN on the VOC2007 as the initial weights to train it then on my own custom dataset. 3- modify the RPN network with different loss functions that I have come up with.

I will greatly appreciate it if you could help me/let me know how to achieve the above goals.

meshghi avatar Aug 26 '21 23:08 meshghi

Hello again,

I changed most of the code to work with my custom dataset. But, I'm stuck with handling the "difficult" trining objects. My custom dataset doesn't have any "difficult" object and thus I get errors during training in areas like below:

difficult.append(int(obj.find('difficult').text))

I was wondering how I could fix that? Thanks

meshghi avatar Aug 27 '21 22:08 meshghi

Hello, I encountered the same problem, did you solve it? difficult.append(int(obj.find('difficult').text))

WuXiaoyu55 avatar Jan 05 '22 03:01 WuXiaoyu55