Coder Social home page Coder Social logo

Comments (9)

bl0 avatar bl0 commented on June 3, 2024

Hi, you can use this model in single label just same with the multilabel dataset without any change.

from cvpr17-dvsq.

bl0 avatar bl0 commented on June 3, 2024

I will close this issue. Feel free to reopen it if u also have any question.

from cvpr17-dvsq.

Retrospection avatar Retrospection commented on June 3, 2024

Thanks!

from cvpr17-dvsq.

Retrospection avatar Retrospection commented on June 3, 2024

Excuse me, If I want to make this net to be a image feature extractor, that means, if I want to give an image and take a feature from this network without the whole bunch of config params, what should I do?

from cvpr17-dvsq.

bl0 avatar bl0 commented on June 3, 2024

What do you mean by "feature"? the 4096-dimensional feature(for fc7) or 64-dimensional feature(for fc8)?
If you are familiar with Tensorflow, simply run the graph and fetch the fc7(or fc8) as the feature(line 580 in net_val.py may help you).

from cvpr17-dvsq.

Retrospection avatar Retrospection commented on June 3, 2024

yep, the "feature" I mean is just the fc8, but to use the net_val.py, I need to prepare the images in to dataset, make batchs to feed into the network, make whole bunch of config params. If I dont want to prepare such dataset, and dont want to prepare such config, what can I do? For example , If I just want to load the net param from .npy and simply use the skeleton of this network to make an inference to get the fc8, how can I achieve this? Thanks for your kindness

from cvpr17-dvsq.

bl0 avatar bl0 commented on June 3, 2024

You can delete the useless part and only leave the skeleton. Then you need not prepare config and just need to:

  1. load the pre-trained model into the model.
  2. read the image from whatever place.
  3. run the graph to get the feature.

from cvpr17-dvsq.

Retrospection avatar Retrospection commented on June 3, 2024

Thanks for your great kindless

from cvpr17-dvsq.

bl0 avatar bl0 commented on June 3, 2024

不客气😀

from cvpr17-dvsq.

Related Issues (9)

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.