Skip to content

如何将Tensors转为图片 #156

Closed
Closed
@weiyuc

Description

@weiyuc

InferenceSession.run(
{
"input": xinput
}
)
.then(res => {
// 模型的输出结果为float32[batch_size,1,height,width]
// TODO 在小程序中如何导出图片
})
.catch(err => {
console.error(err)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions