Skip to content

Forwarding multiple images through #1

@soulslicer

Description

@soulslicer
net.setBlob(".data", inputBlob);
    // フォワードパス(順伝播)の計算
    net.forward();
    // 出力層(Softmax)の出力を取得, ここに予測結果が格納されている
    const cv::dnn::Blob prob = net.getBlob("prob");
    // Blobオブジェクト内部のMatオブジェクトへの参照を取得
    // ImageNet 1000クラス毎の確率が格納された1x1000の行列(ベクトル)
    const cv::Mat probMat = prob.matRefConst();

I notice in this code you have set one image and forwarded it. Is it possible to set multiple images and forward them for parallelism?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions