カスタム学習ループを​用いたセグメンテーシ​ョンについて

カスタム学習ループを用いて0と1の値でセグメンテーションをしたいのですが、forward関数に通しても、0〜1のさまざまな数値が出てしまいます。forward関数に通した後はどのようなコードを記述するべきでしょうか?

 Risposta accettata

Tohru Kikawada
Tohru Kikawada il 14 Gen 2024
Modificato: Tohru Kikawada il 24 Gen 2024

0 voti

下記のpixelClassificationLayerを使うことで出力を離散値にできると思います。 https://jp.mathworks.com/help/vision/ref/nnet.cnn.layer.pixelclassificationlayer.html
お試しいただければと思います。

1 Commento

kaede
kaede il 24 Gen 2024
遅れて申し訳ないですが、回答ありがとうございます。
以上の手法を試してみます。

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!