Faster_RCNN_for_Open_Images_Dataset_Keras icon indicating copy to clipboard operation
Faster_RCNN_for_Open_Images_Dataset_Keras copied to clipboard

How to use different base network

Open achintacsgit opened this issue 5 years ago • 12 comments

Sir , i want to use different base network, can you please tell me the procedure I know you use transfer learning , but can i use pre train weights of a simple image classification model

achintacsgit avatar Apr 12 '19 08:04 achintacsgit

Hi, you should look at the author's article on Medium and the notebook for training. You can replace the base network with your own easily, see nn_base in the training notebook.

StephenRUK avatar Apr 12 '19 13:04 StephenRUK

Can you give the original author github link Previous link is not working now

achintacsgit avatar Apr 12 '19 13:04 achintacsgit

You can find the notebook in this repository. https://github.com/RockyXu66/Faster_RCNN_for_Open_Images_Dataset_Keras/blob/master/frcnn_train_vgg.ipynb

StephenRUK avatar Apr 12 '19 14:04 StephenRUK

Thank you I can replace base network easily , can you tell the procedure for generating the pre train weights for that base network

achintacsgit avatar Apr 12 '19 14:04 achintacsgit

You can use pretrained weights for common models e.g. VGG16, ResNet or such. See the Keras docs for available models with ImageNet weights, if you wish to use them https://keras.io/applications/

StephenRUK avatar Apr 12 '19 14:04 StephenRUK

Can i use pre train weights of other than these network

achintacsgit avatar Apr 12 '19 15:04 achintacsgit

You can use any network you want. I think you need to do some research in general about transfer learning or finetuning of existing networks. It is not specific to this model or GitHub repository.

StephenRUK avatar Apr 12 '19 15:04 StephenRUK

can i train whole network without using transfer learning please reply

achintacsgit avatar Apr 19 '19 12:04 achintacsgit

Yes you can train the whole network, but it makes no sense to train a whole VGG or ResNet model from scratch. This isn't a support forum & I'm not even part of this repo 😉 do check out an article such as this https://www.learnopencv.com/keras-tutorial-transfer-learning-using-pre-trained-models/

StephenRUK avatar Apr 19 '19 13:04 StephenRUK

Thank you sir

achintacsgit avatar Apr 19 '19 14:04 achintacsgit

image can you please tell me how to get these four file for train?

DTW1004 avatar Apr 22 '19 13:04 DTW1004

image can you please tell me how to get these four file for train?

you just create a "model" folder in base_path then reaming files are automatically stored

devendraswamy avatar Oct 16 '19 07:10 devendraswamy