Skip to content

Instantly share code, notes, and snippets.

name: "half_InceptionNetwork_v2"
layer {
name: "data"
type: "HumanAttData"
top: "data"
top: "labels"
include {
phase: TRAIN
}
transform_param {
markup = '<a href="http://example.com/">I linked to <i>example.com</i></a>'
soup = BeautifulSoup(markup)
soup.prettify()
# '<html>\n <head>\n </head>\n <body>\n <a href="http://example.com/">\n...'
print(soup.prettify())
# <html>
# <head>
# </head>
# <body>