Skip to content

Commit

Permalink
arxiv url redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
taiya committed Dec 11, 2023
1 parent 63b7211 commit 1316c52
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
pubs
pubs
resume.bib
6 changes: 5 additions & 1 deletion convert_to_bibtex.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
author={AUTHORS},
institution={{INSTITUTION}},
year={YEAR},
eprint={1912.03207},
url={URL},
note={(arXiv preprint)},
}"""

Expand Down Expand Up @@ -100,6 +100,10 @@ def arxiv(pub):
ret = ret.replace("TITLE", pub['title'])
ret = ret.replace("AUTHORS", list_to_string(pub['authors']))
ret = ret.replace("YEAR", pub['year'])
if 'arxiv' in pub:
ret = ret.replace("URL", pub['arxiv'])
else:
ret = ret.replace("URL", "https://arxiv.org")
ret = ret.replace("NOTES", notes_to_string(pub['notes']) if "notes" in pub else "")
return ret

Expand Down
7 changes: 6 additions & 1 deletion pubs.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"year": "2024",
"venue": "arXiv",
"special": "arXiv",
"arxiv": "https://arxiv.org/abs/2311.17984",
"homepage": "https://sherwinbahmani.github.io/4dfy",
"pdf": "https://arxiv.org/pdf/2311.17984.pdf",
"authors": [
"Sherwin Bahmani",
"Ivan Skorokhodov",
Expand Down Expand Up @@ -55,6 +58,8 @@
"title": "Unsupervised Keypoints from Pretrained Diffusion Models",
"year": "2024",
"venue": "arXiv",
"arXiv": "https://arxiv.org/abs/2312.00065",
"homepage": "https://stablekeypoints.github.io",
"special": "arXiv",
"authors": [
"Eric Hedlin",
Expand Down Expand Up @@ -177,7 +182,7 @@
"Cengiz Oztireli"
],
"venue": "Neural Information Processing Systems (NeurIPS)",
"arXiv": "https://arxiv.org/abs/2306.08943",
"arxiv": "https://arxiv.org/abs/2306.08943",
"year": "2023",
"special": "NeurIPS'23"
},
Expand Down

0 comments on commit 1316c52

Please sign in to comment.