Functions | Variables
compare_statistics Namespace Reference

Functions

def cherry_pick_full_wo_shape_tracker
def collect_stats
def collect_stats_for_exp
def compare_statistics
def plot_stats_for_exp

Variables

list folderElems2Order
dictionary folderElems2Title
float fscore_beta = 0.5
 Title and settings.
string full_pattern = '(segment_ext_d_and_c_rb)(([0-9]+))'
 multiple_figures = True
dictionary variant2labelAndStyle
string wo_st_pattern = '(segment_no_st_ext_d_and_c_rb)(([0-9]+))'
string wo_st_template = 'segment_no_st_ext_d_and_c_rb%d.txt'
list wst_folder = sys.argv[2]

Function Documentation

def compare_statistics.cherry_pick_full_wo_shape_tracker (   wo_src,
  with_dst 
)

Definition at line 296 of file compare_statistics.py.

Definition at line 160 of file compare_statistics.py.

Definition at line 174 of file compare_statistics.py.

def compare_statistics.compare_statistics (   folder,
  show_fscore = True,
  multiple_figures = True 
)

Definition at line 83 of file compare_statistics.py.

def compare_statistics.plot_stats_for_exp (   exp_name,
  variant_stats,
  fig,
  ax_prec,
  ax_rec,
  ax_fscore = None,
  plot_legend = True,
  plot_exp_name = True 
)

Definition at line 222 of file compare_statistics.py.


Variable Documentation

Initial value:
00001 [
00002   ('robotDrawer'),
00003   ('box'),
00004   ('globe'),
00005   ('head1'),
00006   ('metalcase'),
00007   ('statue'),
00008   ('redthing'),
00009   ('ks_drawer_full_gt_base'),
00010   ('ks_drawer_full_gt_drawer'),
00011   ('ks_laptop_full_gt_base'),
00012   ('ks_laptop_full_gt_lid'),
00013 ]

Definition at line 68 of file compare_statistics.py.

Initial value:
00001 {
00002   ('box'): 'Box',
00003   ('globe'): 'Globe',
00004   ('metalcase'): '2 Bodies: Metal case',
00005   ('statue'): '2 Bodies: Statue',
00006   ('head1'): 'Head',
00007   ('robotDrawer'): 'Drawer',
00008   ('redthing'): 'Red shape',
00009   ('ks_drawer_full_gt_drawer'): 'Cabinet: Drawer',
00010   ('ks_drawer_full_gt_base'): 'Cabinet: Frame',
00011   ('ks_laptop_full_gt_lid'): 'Laptop: Lid',
00012   ('ks_laptop_full_gt_base'): 'Laptop: Base',
00013 }

Definition at line 54 of file compare_statistics.py.

Title and settings.

Definition at line 33 of file compare_statistics.py.

string compare_statistics::full_pattern = '(segment_ext_d_and_c_rb)(([0-9]+))'

Definition at line 35 of file compare_statistics.py.

Definition at line 367 of file compare_statistics.py.

Initial value:
00001 {
00002           # (regex, plotting params, legend order)
00003           full_pattern: ({'label': "Full", 'lw': 3.0, 'ls': "-", 'color': 'k'}, 0),
00004           wo_st_pattern: ({'label': "Full w/o Shape Tracking", 'lw': 3.0, 'ls': "--", 'color': 'k', 'alpha': 0.5}, 1),
00005           '(segment_naive_depth_rb)([0-9]+)': ({'label': 'Shape-based (depth only)', 'lw': 1.0, 'ls': "--", 'color': 'b'}, 4),
00006           '(segment_naive_color_rb)([0-9]+)': ({'label': 'Shape-based (color only)', 'lw': 1.0, 'ls': "--", 'color': 'r'}, 5),
00007           '(segment_depth_rb)([0-9]+)': ({'label': 'Motion (depth only)', 'lw': 1.5, 'ls': "-", 'color': 'b'}, 2),
00008           '(segment_color_rb)([0-9]+)': ({'label': 'Motion (color only)', 'lw': 1.5, 'ls': "-", 'color': 'r'}, 3),
00009           '(ochs)': ({'label': 'Ochs et al.', 'lw': 3.0, 'ls': ":", 'color': 'g'}, 6), 
00010           #'segment_ext_c_rb([0-9]+)': (''),
00011           #'segment_ext_d_rb([0-9]+)': (''),
00012          }

Definition at line 41 of file compare_statistics.py.

string compare_statistics::wo_st_pattern = '(segment_no_st_ext_d_and_c_rb)(([0-9]+))'

Definition at line 36 of file compare_statistics.py.

string compare_statistics::wo_st_template = 'segment_no_st_ext_d_and_c_rb%d.txt'

Definition at line 39 of file compare_statistics.py.

list compare_statistics::wst_folder = sys.argv[2]

Definition at line 363 of file compare_statistics.py.



shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:39:02