Skip to content

Commit

Permalink
Update query.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
soskek authored Oct 30, 2022
1 parent 87a39fc commit bfb0cc9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions query.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
query:
query_type: "text"
texts: ["apple", "banana", "vegetables", "floor"]
positive_ids: [0]
score_threshold: # empty means None
# query_type: "direct"
# query_path: "hogehoge_C.pth"
# query_type: "patch"
# query_frame_path: "hogehoge_CHW.pth"
positive_ids: [0] # indices of target texts
score_threshold: # empty means None. use argmax.

edit:
operations:
- edit_type: "extraction"
#- edit_type: "deletion"
#- edit_type: "color_func"
# func_str: "lambda c: c[..., [2,1,0]]" # rgb -> bgr
# edit_type:

0 comments on commit bfb0cc9

Please sign in to comment.