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

-> keep_inds = torch.cat([fg_inds, bg_inds], 0) (Pdb)

Open qujiangang opened this issue 5 years ago • 8 comments

-> keep_inds = torch.cat([fg_inds, bg_inds], 0) (Pdb)

qujiangang avatar Oct 18 '19 12:10 qujiangang

Do you want to insert some conv layers?Maybe you forget give weight at net/network.py line478.

ChrisHJC avatar Nov 04 '19 09:11 ChrisHJC

how to fix it?

zhilaAI avatar Nov 05 '19 15:11 zhilaAI

Either voc2007 or my own data has the same question!!

happybored avatar Nov 11 '19 13:11 happybored

I got this question because I want to insert another convolution layers,so I fix it by giving these layers weights. image

ChrisHJC avatar Nov 11 '19 13:11 ChrisHJC

But I didn't revise anything_(:з」∠)_

---Original--- From: "ChrisHJC"<[email protected]> Date: Mon, Nov 11, 2019 21:20 PM To: "ruotianluo/pytorch-faster-rcnn"<[email protected]>; Cc: "happybored"<[email protected]>;"Comment"<[email protected]>; Subject: Re: [ruotianluo/pytorch-faster-rcnn] -> keep_inds = torch.cat([fg_inds, bg_inds], 0) (Pdb) (#155)

I got this question because I want to insert another convolution layers,so I fix it by giving these layers weights.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

happybored avatar Nov 11 '19 13:11 happybored

where we should Add these lines? I added them to network.py but does not work again. in faster rcnn we do not have query and ... and also i checked that lines we have the same parameter for normal_init.

zhilaAI avatar Nov 11 '19 19:11 zhilaAI

I have the same question,because i use the res50.pth which is downloaded from other website,I fix it by downloading the res50.pth from google driver the author gived.it may help you.

jc56968 avatar Nov 21 '19 08:11 jc56968

You mean we should use specific type of res net for the model? If I want to test the model on VGG16, it doesn't work.

zhilaAI avatar Nov 22 '19 18:11 zhilaAI