Code Monkey home page Code Monkey logo

Comments (5)

gaochen315 avatar gaochen315 commented on June 15, 2024
  1. Yes. I ran the official Caffe2 implementation of Detectron on HICO-DET dataset. The filename gives you the cue about the parameters, i.e. R-50-PFN_2x.

  2. As for training, I didn't use anything from tf-faster-rcnn. Could you please specify in which line of my training code you found tf-faster-rcnn is involved? I will take a look at it. Thanks!

from ican.

yeliudev avatar yeliudev commented on June 15, 2024
  1. Yes. I ran the official Caffe2 implementation of Detectron on HICO-DET dataset. The filename gives you the cue about the parameters, i.e. R-50-PFN_2x.
  2. As for training, I didn't use anything from tf-faster-rcnn. Could you please specify in which line of my training code you found tf-faster-rcnn is involved? I will take a look at it. Thanks!

In lib/networks/iCAN_ResNet50_HICO.py, the implementation of backbone is similar to the one in tf-faster-rcnn, but I'm not sure whether they're exactly the same.

# ResNet Backbone
head = self.image_to_head(is_training)
sp = self.sp_to_head()
pool5_H = self.crop_pool_layer(head, self.H_boxes, 'Crop_H')
pool5_O = self.crop_pool_layer(head, self.O_boxes[:self.H_num,:], 'Crop_O')

Additionally, it seems that the pretrained weights of Faster R-CNN Weights/res50_faster_rcnn_iter_1190000.ckpt were loaded before training, so during the training process, the model gets detection results from itself instead of Detectron, which is different from the way in the testing process.

from ican.

yeliudev avatar yeliudev commented on June 15, 2024

@gaochen315 Sorry for my mistake, I've read your code carefully, and it seems that you've used a refined ResNet-50 (only stage 1 to stage 4) for feature extraction before the three streams. So I wonder whether the feature extraction network has been pre-trained on any datasets or it can be trained end-to-end during the training process of the whole model?

Thank you for your attention!

from ican.

Yuliang-Zou avatar Yuliang-Zou commented on June 15, 2024

The feature extraction network is initialized from tf-faster-rcnn's model (trained on COCO). It is not trained from scratch.

from ican.

yeliudev avatar yeliudev commented on June 15, 2024

The feature extraction network is initialized from tf-faster-rcnn's model (trained on COCO). It is not trained from scratch.

Thank you!

from ican.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.