hanhaonan02 Claude Fable 5.1 commited on
Commit
77e6466
·
1 Parent(s): 10726af

Accept any colour-picker format for the accent; replace examples with five stronger test-set posters

Browse files

- normalize_accent(): #RGB/#RRGGBB/rgb()/rgba()/hsl() -> #RRGGBB, default on failure
(the picker could send rgba(...) and the old check raised 'Choose an accent color in #RRGGBB format')
- Examples: MAESTRO (ICLR 2023), Gradient Leakage (ICLR 2022), Humanoid Motion (ICLR 2024),
NExT-GPT (ICML 2024), ConforMix (NeurIPS 2025), each with PDF, PNG and self-contained HTML

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

examples/{neurips_2024_4032 → 01_iclr_2023_11250}/meta.json RENAMED
@@ -1,8 +1,8 @@
1
  {
2
- "title": "DiffuLT: Diffusion for Long-tail Recognition Without External Knowledge",
3
- "venue": "NeurIPS 2024",
4
- "paper_id": "NeurIPS_2024_4032",
5
- "short": "DiffuLT · NeurIPS 2024",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
 
1
  {
2
+ "title": "MAESTRO: Open-Ended Environment Design for Multi-Agent Reinforcement Learning",
3
+ "short": "MAESTRO · ICLR 2023",
4
+ "venue": "ICLR 2023",
5
+ "paper_id": "ICLR_2023_11250",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
examples/{icml_2022_16583 → 01_iclr_2023_11250}/paper.pdf RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ce8ae89247f386c4fa0f7bc72a70ab0eda1cf3cd0ba3e4371f8922c3355ea01d
3
- size 1586267
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bf00ecfdd12ea586519eaf60a095f4d4bff6b94f00e11c8a631e8dca5156051
3
+ size 3841999
examples/01_iclr_2023_11250/poster.html ADDED
The diff for this file is too large to render. See raw diff
 
examples/{icml_2022_18241 → 01_iclr_2023_11250}/poster.png RENAMED
File without changes
examples/{iclr_2025_5006 → 02_iclr_2022_6934}/meta.json RENAMED
@@ -1,8 +1,8 @@
1
  {
2
- "title": "Matcha: Mitigating Graph Structure Shifts with Test-Time Adaptation",
3
- "venue": "ICLR 2025",
4
- "paper_id": "ICLR_2025_5006",
5
- "short": "Matcha · ICLR 2025",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
 
1
  {
2
+ "title": "Bayesian Framework for Gradient Leakage",
3
+ "short": "Gradient Leakage · ICLR 2022",
4
+ "venue": "ICLR 2022",
5
+ "paper_id": "ICLR_2022_6934",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
examples/{iclr_2025_5006 → 02_iclr_2022_6934}/paper.pdf RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b602b23c819046ab875dca439c16e512d799c1c89f3340e5bf11e24c51723198
3
- size 3939092
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63747365ae12a267e0add5f75eb122217cd2f05e49eff94b68e89e385c7e738f
3
+ size 1653739
examples/02_iclr_2022_6934/poster.html ADDED
The diff for this file is too large to render. See raw diff
 
examples/{neurips_2022_63389 → 02_iclr_2022_6934}/poster.png RENAMED
File without changes
examples/{icml_2022_18241 → 03_iclr_2024_18728}/meta.json RENAMED
@@ -1,8 +1,8 @@
1
  {
2
- "title": "Discovering Generalizable Spatial Goal Representations via Graph-based Active Reward Learning",
3
- "venue": "ICML 2022",
4
- "paper_id": "ICML_2022_18241",
5
- "short": "GEM · ICML 2022",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
 
1
  {
2
+ "title": "Universal Humanoid Motion Representations for Physics-Based Control",
3
+ "short": "Humanoid Motion · ICLR 2024",
4
+ "venue": "ICLR 2024",
5
+ "paper_id": "ICLR_2024_18728",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
examples/{icml_2022_18241 → 03_iclr_2024_18728}/paper.pdf RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3ca777da75c8b2f5e263786baec579cb877036fe5c0067d39aed04f8a921b60
3
- size 1344934
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd435bb5c24db5ce04c4d05376903ec95fdf4c57d27b9e976d8d01360ba6649c
3
+ size 7600191
examples/03_iclr_2024_18728/poster.html ADDED
The diff for this file is too large to render. See raw diff
 
examples/{iclr_2025_5006 → 03_iclr_2024_18728}/poster.png RENAMED
File without changes
examples/{icml_2022_16583 → 04_icml_2024_34200}/meta.json RENAMED
@@ -1,8 +1,8 @@
1
  {
2
- "title": "Adaptive Second Order Coresets for Data-efficient Machine Learning",
3
- "venue": "ICML 2022",
4
- "paper_id": "ICML_2022_16583",
5
- "short": "AdaCore · ICML 2022",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
 
1
  {
2
+ "title": "NExT-GPT: Any-to-Any Multimodal LLM",
3
+ "short": "NExT-GPT · ICML 2024",
4
+ "venue": "ICML 2024",
5
+ "paper_id": "ICML_2024_34200",
6
  "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
  "canvas": "Landscape · 3:2",
8
  "columns": 3,
examples/{neurips_2022_63389 → 04_icml_2024_34200}/paper.pdf RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:21c8594705d06c371d6c320bf1d720bba3fcb4d375930ff57a88ed148bc53b07
3
- size 267114
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f04f130acd112fa73b1d762ab00da69fad254ec3a6e48a39a5367b2693b7846c
3
+ size 9056510
examples/04_icml_2024_34200/poster.html ADDED
The diff for this file is too large to render. See raw diff
 
examples/{icml_2022_16583 → 04_icml_2024_34200}/poster.png RENAMED
File without changes
examples/05_neurips_2025_17956/meta.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Unlocking Hidden Biomolecular Conformational Landscapes in Diffusion Models at Inference Time",
3
+ "short": "ConforMix · NeurIPS 2025",
4
+ "venue": "NeurIPS 2025",
5
+ "paper_id": "NeurIPS_2025_17956",
6
+ "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
+ "canvas": "Landscape · 3:2",
8
+ "columns": 3,
9
+ "accent": "#584287"
10
+ }
examples/05_neurips_2025_17956/paper.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a07e79ac27221cc4e746f2d347589db903481ce21520388624cf4d2701e8a0de
3
+ size 24473079
examples/05_neurips_2025_17956/poster.html ADDED
The diff for this file is too large to render. See raw diff
 
examples/05_neurips_2025_17956/poster.png ADDED

Git LFS Details

  • SHA256: 7b0633156da4ca6dcecbb223a17cfc00090229f1f27a2390ab89ee592e22ba17
  • Pointer size: 131 Bytes
  • Size of remote file: 617 kB
examples/icml_2022_16583/poster.html DELETED
The diff for this file is too large to render. See raw diff
 
examples/neurips_2022_63389/meta.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "title": "Optimized Global Perturbation Attacks For Brain Tumour ROI Extraction From Binary Classification Models",
3
- "venue": "NeurIPS 2022",
4
- "paper_id": "NeurIPS_2022_63389",
5
- "short": "Global Perturbation · NeurIPS 2022",
6
- "instruction": "Create a clear academic poster with a strong title, a short motivation, the main method, key quantitative results, and takeaways. Prioritize the most informative figures. Use concise text, readable fonts, and generous spacing. Do not invent results.",
7
- "canvas": "Landscape · 3:2",
8
- "columns": 3,
9
- "accent": "#584287"
10
- }
 
 
 
 
 
 
 
 
 
 
 
examples/neurips_2022_63389/poster.html DELETED
The diff for this file is too large to render. See raw diff
 
examples/neurips_2024_4032/paper.pdf DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:25e258b685407444c4f181dc019427dc2ad6d5590eab72af7ebddc203f1e1da0
3
- size 2809890
 
 
 
 
examples/neurips_2024_4032/poster.png DELETED

Git LFS Details

  • SHA256: 892625d25d37b38b92a9dc02623640bf18f7ca077135edfa9d90ec9b90bf58d5
  • Pointer size: 131 Bytes
  • Size of remote file: 404 kB
pdf_pipeline.py CHANGED
@@ -23,6 +23,30 @@ CANVASES = {'Landscape · 3:2': (2400,1600), 'Landscape · 16:9':(2400,1350),
23
  def scrub(value):
24
  return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
27
  from layout_runtime import extract
28
  pdf=Path(pdf);job=Path(job)
@@ -33,8 +57,7 @@ def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
33
  raise ValueError('The uploaded file is not a PDF.')
34
  if len(instruction)>4000 or len(custom_spec)>3000:
35
  raise ValueError('Please shorten your design instruction / layout specification.')
36
- if not re.fullmatch(r'#[0-9a-fA-F]{6}',accent):
37
- raise ValueError('Choose an accent color in #RRGGBB format.')
38
  columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]
39
  extracted=job/'paper'
40
  extract(pdf, extracted)
 
23
  def scrub(value):
24
  return re.sub(r'<[^>]{0,80}>',lambda m:m.group(0).replace('<','‹').replace('>','›'),value or '')
25
 
26
+ def normalize_accent(value, default='#584287'):
27
+ """Accept whatever the colour picker sends (#RGB, #RRGGBB, rgb()/rgba(), hsl()) and return #RRGGBB."""
28
+ v=str(value or '').strip()
29
+ m=re.fullmatch(r'#?([0-9a-fA-F]{6})',v)
30
+ if m: return '#'+m.group(1).lower()
31
+ m=re.fullmatch(r'#?([0-9a-fA-F]{3})',v)
32
+ if m: return '#'+''.join(c*2 for c in m.group(1)).lower()
33
+ m=re.fullmatch(r'rgba?\(([^)]*)\)',v,re.I)
34
+ if m:
35
+ try:
36
+ parts=[p.strip() for p in m.group(1).replace('/',',').split(',')][:3]
37
+ rgb=[max(0,min(255,round(float(p[:-1])*2.55 if p.endswith('%') else float(p)))) for p in parts]
38
+ if len(rgb)==3: return '#%02x%02x%02x'%tuple(rgb)
39
+ except ValueError: pass
40
+ m=re.fullmatch(r'hsla?\(([^)]*)\)',v,re.I)
41
+ if m:
42
+ try:
43
+ import colorsys
44
+ parts=[p.strip().rstrip('%') for p in m.group(1).replace('/',',').split(',')][:3]
45
+ h,sat,l=float(parts[0])/360.0,float(parts[1])/100.0,float(parts[2])/100.0
46
+ r,g,b=colorsys.hls_to_rgb(h,l,sat); return '#%02x%02x%02x'%(round(r*255),round(g*255),round(b*255))
47
+ except (ValueError,IndexError): pass
48
+ return default
49
+
50
  def prepare(pdf, job, instruction, canvas, accent, columns, custom_spec=''):
51
  from layout_runtime import extract
52
  pdf=Path(pdf);job=Path(job)
 
57
  raise ValueError('The uploaded file is not a PDF.')
58
  if len(instruction)>4000 or len(custom_spec)>3000:
59
  raise ValueError('Please shorten your design instruction / layout specification.')
60
+ accent=normalize_accent(accent)
 
61
  columns=max(1,min(4,int(columns))); width,height=CANVASES[canvas]
62
  extracted=job/'paper'
63
  extract(pdf, extracted)