mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-16 16:27:45 +01:00
add input output for siamese (#810)
* add siamese input output --------- Co-authored-by: 凌才 <lingcai.wl@alibaba-inc.com>
This commit is contained in:
@@ -1648,7 +1648,8 @@ TASK_OUTPUTS = {
|
||||
# "output_imgs": np.ndarray list with shape [[height, width, 3], ...]
|
||||
# }
|
||||
Tasks.image_view_transform: [OutputKeys.OUTPUT_IMGS],
|
||||
Tasks.image_to_3d: [OutputKeys.MV_IMGS]
|
||||
Tasks.image_to_3d: [OutputKeys.MV_IMGS],
|
||||
Tasks.siamese_uie: [OutputKeys.OUTPUT],
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -438,6 +438,8 @@ TASK_INPUTS = {
|
||||
Tasks.machine_reading_comprehension:
|
||||
InputType.TEXT,
|
||||
|
||||
Tasks.siamese_uie: InputType.TEXT,
|
||||
|
||||
# ============ audio tasks ===================
|
||||
Tasks.auto_speech_recognition: # input can be audio, or audio and text.
|
||||
[InputType.AUDIO, {
|
||||
|
||||
Reference in New Issue
Block a user