Skip to content

Commit 97e077d

Browse files
committed
update time limit; update prompt; fix paper topic idx issue
1 parent fc17f44 commit 97e077d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

configs/paper_topics.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
- Relevant: papers that perform 3D reconstruction or generation from multi-view images which can be sparse or pose-free, papers that estimate camera poses and do 3D reconstruction simultaneously.
2121
- Not relevant: papers that incrementally improve NeRF performance on NeRF synthetic and LIFF datasets.
2222

23-
In suggesting papers to your friend, remember that he enjoys papers on self-supervised learning, representation learning, robotics and computer vision.
23+
In suggesting papers to your friend, remember that he enjoys papers on self-supervised learning, robotics and computer vision.
2424
Your friend also enjoys papers on video segmentation and exploration on transfer learning between modalities.
2525
He does not want to read papers that are about primarily applications of methods to specific domains.

main.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ def get_authors(
143143
auth_map = get_one_author(session, author, S2_API_KEY)
144144
if auth_map is not None:
145145
author_metadata_dict[author] = auth_map
146-
# add a 10ms wait time to avoid rate limiting
147-
time.sleep(0.01)
146+
# add a 1s wait time to avoid rate limiting
147+
time.sleep(1)
148148
return author_metadata_dict
149149

150150

parse_json_to_md.py

+2
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def generate_background_for_white_foreground(threshold:int=150):
137137
paper_full_group_by_topic = [[] for _ in range(len(filtered_criteria) + 1)]
138138
for i, paper in enumerate(papers_dict.values()):
139139
paper_topic_idx = extract_criterion_from_paper(paper)
140+
if paper_topic_idx > len(filtered_criteria):
141+
paper_topic_idx = 0
140142
title_string = render_title_and_author(paper, i + paper_topic_idx * topic_shift)
141143
paper_title_group_by_topic[paper_topic_idx].append(title_string)
142144
full_string = render_paper(paper, i + paper_topic_idx * topic_shift)

0 commit comments

Comments
 (0)