pytorch_RFCN icon indicating copy to clipboard operation
pytorch_RFCN copied to clipboard

Has anyone tested this net? Does it actually work?

Open Rizhiy opened this issue 7 years ago • 17 comments

I have tried to train it, but got just noise as the output. Has anyone managed to train it?

Rizhiy avatar Oct 13 '17 13:10 Rizhiy

What is your mAP? I also have tried to train it but result in a very low accuracy.

strongwolf avatar Nov 07 '17 02:11 strongwolf

mAP is almost zero. I have tried to debug and it appears that bbox regressor doesn't work at all. I think that PSRoIPooling might not be implemented correctly here.

Rizhiy avatar Nov 07 '17 06:11 Rizhiy

Hi, I find that this code has a serious bug in rfcn.py at 212 and 213, I think it should be self.rfcn_bbox = Conv2d(1024,778, 1,1, bn=False) self.rfcn_score = Conv2d(1024, 77self.n_classes,1,1,bn=False), do you change here? If you do that, can it work well?

noUmbrella avatar Nov 29 '17 07:11 noUmbrella

Hi, I find that this code has a serious bug in rfcn.py at 212 and 213, I think it should be self.rfcn_bbox = Conv2d(1024,778, 1,1, bn=False) self.rfcn_score = Conv2d(1024, 77self.n_classes,1,1,bn=False), do you change here? If you do that, can it work well?@Rizhiy

noUmbrella avatar Nov 29 '17 07:11 noUmbrella

@noUmbrella after your solved this bug, do you work well? what is your mAP?

RichardMrLu avatar Dec 18 '17 09:12 RichardMrLu

I test the mAP is very small, about 0.25. I found that, the classify is right and the regression is not work@RichardMrLu

noUmbrella avatar Dec 19 '17 01:12 noUmbrella

I have the same experience as @noUmbrella, classification works fine, but bbox regression is very bad.

Rizhiy avatar Dec 19 '17 12:12 Rizhiy

Hi, do you find the bug? Does the Position Pooling Layer exists problem? @Rizhiy

noUmbrella avatar Dec 20 '17 01:12 noUmbrella

Hi, do you find the bug? Does the Position Pooling Layer exists problem? @RichardMrLu

noUmbrella avatar Dec 20 '17 01:12 noUmbrella

@noUmbrella = = sorry, I didn't run the code.

RichardMrLu avatar Dec 20 '17 01:12 RichardMrLu

I have changed self.rfcn_bbox and self.rfcn_score ,but when i trained the network,bbox regression can not converge.Does anybody can help?

jjprincess avatar Dec 25 '17 03:12 jjprincess

@jjprincess For me, it also either doesn't converge or converges poorly and I get very low mAP.

Rizhiy avatar Dec 28 '17 16:12 Rizhiy

@Rizhiy There may be some wrong with the code,I has changed the frame “mxnet”,I got right results. Here is the link"https://github.com/msracver/Deformable-ConvNets"

jjprincess avatar Dec 29 '17 01:12 jjprincess

@jjprincess Yes, I'm already using that version, but I like PyTorch more than MXNet.

Rizhiy avatar Dec 29 '17 13:12 Rizhiy

I use VOC2007 so I change the imdb_name='voc_2007_trainval' in train.py in line36. when i debug, I find that in pascal_voc.py line 49, self._classes had been rewrite, so I comment that line and then change line 212 self.rfcn_score = Conv2d(1024,7721, 1,1, bn=False) in file rfcn.py @noUmbrella

sophieyl avatar Jan 29 '18 08:01 sophieyl

look at this repo

lxtGH avatar Feb 25 '18 13:02 lxtGH

This repo stop updating for more than one year. If someone still interesting in pytorch R-FCN, pls look at another pytorch implement - princewang1994/R-FCN.pytorch, thanks~

princewang1994 avatar Aug 22 '18 02:08 princewang1994