teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

質問内容の変更

2021/08/11 07:37

投稿

tiroha
tiroha

スコア109

title CHANGED
File without changes
body CHANGED
@@ -3,8 +3,10 @@
3
3
  https://github.com/milesial/Pytorch-UNet
4
4
 
5
5
 
6
- 補足2
6
+
7
7
  python predict.py -i image1.jpg image2.jpg
8
8
  を実行したところ、下記のようなエラー文がでます。
9
- RuntimeError: unexpected EOF, expected 7120820 more bytes. The file might be corrupted.
9
+ FileNotFoundError: [Errno 2] No such file or directory: 'image1.jpg'
10
+ すでに学習済みのモデルがあり、同じディレクトリ内にmodel.pthがあります。
11
+ 学習済みなので、データはいらないと思うのですが?
10
- これmodel.pthを修正する必要がありますでしょうか?
12
+ 予測用の画像データ分ダウンロードする必要があるということでしょうか?

2

補足

2021/08/11 07:37

投稿

tiroha
tiroha

スコア109

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,9 @@
2
2
  実行したコードなど共有してもらえるとありがたいです。
3
3
  https://github.com/milesial/Pytorch-UNet
4
4
 
5
+
5
- 補足
6
+ 補足
7
+ python predict.py -i image1.jpg image2.jpg
6
- データセットです。
8
+ を実行したところ、下記ようなエラー文がす。
9
+ RuntimeError: unexpected EOF, expected 7120820 more bytes. The file might be corrupted.
7
- kaggleから画像データダウンロードするのです、ダウンロードるデータは全部でしょうか?
10
+ これはmodel.pth修正する必要ありますでしょうか?

1

追加情報

2021/08/10 09:05

投稿

tiroha
tiroha

スコア109

title CHANGED
File without changes
body CHANGED
@@ -1,3 +1,7 @@
1
1
  下記のサイトでUNetを動かしたことがある方に質問したいです。
2
2
  実行したコードなど共有してもらえるとありがたいです。
3
- https://github.com/milesial/Pytorch-UNet
3
+ https://github.com/milesial/Pytorch-UNet
4
+
5
+ 補足1
6
+ データセットの所です。
7
+ kaggleから画像データをダウンロードするのですが、ダウンロードするデータは全部でしょうか?