GithubHelp home page GithubHelp logo

Comments (4)

christegho avatar christegho commented on August 18, 2024

Which script did you use to get the predictions for the image you posted?

The following command should work (you need to change the weights path and the image path):

python2 detect.py cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg  backup/metatunetest15_novel0_neg0/000010.weights image_test.jpg

from fewshot_detection.

infrontofme avatar infrontofme commented on August 18, 2024

@christegho

python2 detect.py cfg/darknet_dynamic.cfg cfg/reweighting_net.cfg backup/metatunetest15_novel0_neg0/000010.weights image_test.jpg

This script doesn't work, the model in detect.py can't take cfg/reweightng_net as an input parameter.

I use the following script, but the result is worse.

python2 detect.py cfg/darknet_dynamic.cfg backup/metatunetest15_novel0_neg0/000010.weights image_test.jpg

before tested on images, do I need to generate reweighting vectors using training images ?

from fewshot_detection.

kshitijagrwl avatar kshitijagrwl commented on August 18, 2024

detect.py will not work as you rightly mentioned @infrontofme

You will have to follow some methodology similar to valid_ensemble.py:

  1. Generate dynamic_weights from model.meta_forward()
  2. Generate output from model.detect_forward()
  3. Generate bbox from get_region_boxes()

from fewshot_detection.

infrontofme avatar infrontofme commented on August 18, 2024

@kshitijagrwl Thanks, I get it now.

from fewshot_detection.

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.