From 9b1e2709cbdb40eabb34d379df18e61c10e3737c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 11 Apr 2019 18:44:21 +0200 Subject: add h3 --- megapixels/app/site/parser.py | 7 +++-- .../datasets/50_people_one_question/index.html | 2 +- site/public/datasets/brainwash/index.html | 4 +-- site/public/datasets/duke_mtmc/index.html | 8 ++--- site/public/datasets/hrt_transgender/index.html | 2 +- site/public/datasets/index.html | 36 ---------------------- site/public/datasets/lfw/index.html | 4 +-- site/public/datasets/msceleb/index.html | 4 +-- site/public/datasets/oxford_town_centre/index.html | 11 ++++--- site/public/datasets/uccs/index.html | 6 ++-- 10 files changed, 27 insertions(+), 57 deletions(-) diff --git a/megapixels/app/site/parser.py b/megapixels/app/site/parser.py index dc2a09f2..6b71e041 100644 --- a/megapixels/app/site/parser.py +++ b/megapixels/app/site/parser.py @@ -145,8 +145,11 @@ def parse_markdown(metadata, sections, s3_path, skip_h1=False): return ' {}'.format(key, footnote_count, key, index, index) key_regex = re.compile(key.replace('[', '\\[').replace('^', '\\^').replace(']', '\\]')) content = key_regex.sub(footnote_tag, content) - footnote_txt = footnote_txt.replace("{}_BACKLINKS".format(index), "".join(footnote_backlinks)) + footnote_txt = footnote_txt.replace("{}_BACKLINKS".format(key), "".join(footnote_backlinks)) + content += '
' + content += '

References

' content += footnote_txt + content += '
' return content @@ -254,7 +257,7 @@ def format_footnotes(footnotes, s3_path): continue key, note = footnote.split(': ', 1) footnote_index_lookup[key] = index - footnote_list.append('{}_BACKLINKS'.format(key, index) + markdown(note)) + footnote_list.append('{}_BACKLINKS'.format(key, key) + markdown(note)) index += 1 footnote_txt = '
' diff --git a/site/public/datasets/50_people_one_question/index.html b/site/public/datasets/50_people_one_question/index.html index b27fa3e5..3b33f530 100644 --- a/site/public/datasets/50_people_one_question/index.html +++ b/site/public/datasets/50_people_one_question/index.html @@ -35,7 +35,7 @@
33
Purpose
-
Facial landmark estimation in the wild
+
Facial landmark estimation
Website
caltech.edu
diff --git a/site/public/datasets/brainwash/index.html b/site/public/datasets/brainwash/index.html index 10ee577c..bd59f573 100644 --- a/site/public/datasets/brainwash/index.html +++ b/site/public/datasets/brainwash/index.html @@ -120,11 +120,11 @@
  • add ethics link to Stanford
  • add optout info
  • -

    References

    • a

      "readme.txt" https://exhibits.stanford.edu/data/catalog/sx925dc9385.

    • a

      Stewart, Russel. Andriluka, Mykhaylo. "End-to-end people detection in crowded scenes". 2016.

    • a

      Li, Y. and Dou, Y. and Liu, X. and Li, T. Localized Region Context and Object Feature Fusion for People Head Detection. ICIP16 Proceedings. 2016. Pages 594-598.

    • a

      Zhao. X, Wang Y, Dou, Y. A Replacement Algorithm of Non-Maximum Suppression Base on Graph Clustering.

      -
    +