MCPcopy
hub / github.com/matterport/Mask_RCNN / display_table

Function display_table

visualize.py:403–414  ·  view source on GitHub ↗

Display values in a table format. table: an iterable of rows, and each row is an iterable of values.

(table)

Source from the content-addressed store, hash-verified

401
402
403def display_table(table):
404 """Display values in a table format.
405 table: an iterable of rows, and each row is an iterable of values.
406 """
407 html = ""
408 for row in table:
409 row_html = ""
410 for col in row:
411 row_html += "<td>{:40}</td>".format(str(col))
412 html += "<tr>" + row_html + "</tr>"
413 html = "<table>" + html + "</table>"
414 IPython.display.display(IPython.display.HTML(html))
415
416
417def display_weight_stats(model):

Callers 1

display_weight_statsFunction · 0.85

Calls 1

displayMethod · 0.80

Tested by

no test coverage detected