Skip to content

bottleneck ?  #6

@hiddentn

Description

@hiddentn

this line of code take a long time to execute
https://github.com/ModelDepot/tfjs-yolo-tiny/blob/master/src/postprocess.js#L24

const mask_arr = await prediction_mask.data();

ff

is there an other way to do it(transforming the tensor to an array) ?? :)
EDIT : its Bottleneck-0 in the image btw

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