Meize0729 / RSBuilding

This is the pytorch implement of our paper "RSBuilding: Towards General Remote Sensing Image Building Extraction and Change Detection with Foundation Model"
Apache License 2.0
105 stars 2 forks source link

FileNotFoundError.File name error during data processing? #5

Open KamenC opened 7 months ago

KamenC commented 7 months ago

I got this error when I run it. FileNotFoundError: [Errno 2] No such file or directory: '/RsBuilding-main/data/BANDON/test_512_nooverlap/imgs/bj/t3/L81_00639_784071_crop .jpg

I checked the files and found that the files in the corresponding folder are not jpg files, but still png files. Is this a mistake in writing the code for data processing? Also I would like to ask, by looking at the code I found that some of them need jpg format and some of them need png format images, is there any difference between them, because I don't know about this problem, so I don't dare to change your data processing code.

Meize0729 commented 7 months ago

你可以针对性修改一下jpg or png

KamenC commented 7 months ago

你可以针对性修改一下jpg or png

所以2种格式都可以吗,对结果会有影响吗

Meize0729 commented 7 months ago

不会