セマンティックセグメ​ンテーションのネット​ワークを作成する方法​がよくわかりません

上記のURLの例を使って、他のイメージを使ったネットワークを作ろうとしたんですが、イメージを読み込むときに大きさが違うとエラーが出ます。
イメージのサイズを変更したいんですがどうすればいいでしょうか?

 Accepted Answer

Kenta
Kenta on 6 Nov 2020
Edited: Kenta on 6 Nov 2020

1 vote

こんにちは、augmentdatastoreなどを使えば画像のリサイズが可能です。よろしければこちらのサンプルコードをお試しください。ここでもネットワークにあうように画像のリサイズをしています

1 Comment

ヒョンゾ ユン
ヒョンゾ ユン on 6 Nov 2020
Edited: ヒョンゾ ユン on 6 Nov 2020
回答頂き、ありがとうございます。すぐ試してみます。

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!