Main Page
Namespaces
Classes
Files
File List
File Members
Namespaces
|
Functions
|
Variables
learn_codebook.py File Reference
Go to the source code of this file.
Namespaces
namespace
iri_bow_object_detector::learn_codebook
Functions
def
iri_bow_object_detector::learn_codebook.convert_to_heatmap
def
iri_bow_object_detector::learn_codebook.load_descs
def
iri_bow_object_detector::learn_codebook.norm_descs
def
iri_bow_object_detector::learn_codebook.run_on_images
def
iri_bow_object_detector::learn_codebook.sel_descs
def
iri_bow_object_detector::learn_codebook.visualize_box_in_image
def
iri_bow_object_detector::learn_codebook.visualize_classes
def
iri_bow_object_detector::learn_codebook.visualize_desc
def
iri_bow_object_detector::learn_codebook.visualize_descs
Variables
tuple
iri_bow_object_detector::learn_codebook.a
= args.pop(0)
list
iri_bow_object_detector::learn_codebook.args
= sys.argv[1:]
tuple
iri_bow_object_detector::learn_codebook.config
= select_config(dbname)
string
iri_bow_object_detector::learn_codebook.dbname
= "none"
tuple
iri_bow_object_detector::learn_codebook.feats
= np.vstack((descs.astype('float64'), descs_neg[sel].astype('float64')))
iri_bow_object_detector::learn_codebook.hand_pick
=
False
int
iri_bow_object_detector::learn_codebook.im_begin
= 0
int
iri_bow_object_detector::learn_codebook.im_end
= 1
LEARN CENTROIDS.
iri_bow_object_detector::learn_codebook.imnos
=
None
iri_bow_object_detector::learn_codebook.infile
=
None
int
iri_bow_object_detector::learn_codebook.k
= 25
list
iri_bow_object_detector::learn_codebook.keepvecs
= []
tuple
iri_bow_object_detector::learn_codebook.labels
= Labels(np.hstack((np.ones((1,descs.shape[0])), -1*np.ones((1,len(sel)))))[0])
int
iri_bow_object_detector::learn_codebook.max_desc
= 200
int
iri_bow_object_detector::learn_codebook.n_thread
= 1
list
iri_bow_object_detector::learn_codebook.npos
= descs.shape[0]
string
iri_bow_object_detector::learn_codebook.outfile
= "tmp.txt"
tuple
iri_bow_object_detector::learn_codebook.pf
= open('last_classifier.pkl','w')
float
iri_bow_object_detector::learn_codebook.ratio_keep
= 0.2
iri_bow_object_detector::learn_codebook.save_center
=
False
tuple
iri_bow_object_detector::learn_codebook.sel
= range(descs_neg.shape[0])
tuple
iri_bow_object_detector::learn_codebook.svm
= LibLinear(1, feats, labels)
list
iri_bow_object_detector::learn_codebook.todo
= []
int
iri_bow_object_detector::learn_codebook.use_masks2
= 1
iri_bow_object_detector::learn_codebook.verb
=
False
iri_bow_object_detector
Author(s): dmartinez
autogenerated on Fri Dec 6 2013 22:45:46