Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error in training #1

Open
PhenomenonZ opened this issue Apr 23, 2024 · 4 comments
Open

An error in training #1

PhenomenonZ opened this issue Apr 23, 2024 · 4 comments

Comments

@PhenomenonZ
Copy link

I am trying to reproduce Paraformer on Chesapeake dataset and during the training process I found that I will get the error of failing to read the tiff, how can I solve this problem?

ERROR 1: TIFFFillStrip:Read error at scanline 4294967295; got 0 bytes, expected 25709
ERROR 1: TIFFReadEncodedStrip() failed.
ERROR 1: ./dataset/Chesapeake_NewYork_dataset/HR_image/m_4207538_nw_18_1_naip-new.tif, band 1: IReadBlock failed at X offset 0, Y offset 5460: TIFFReadEncodedStrip() failed.

@PhenomenonZ PhenomenonZ changed the title A error in training An error in training Apr 23, 2024
@LiZhuoHong
Copy link
Owner

Thank you for your comment, i will check the error and reply to you in two days!

@LiZhuoHong
Copy link
Owner

I am trying to reproduce Paraformer on Chesapeake dataset and during the training process I found that I will get the error of failing to read the tiff, how can I solve this problem?

ERROR 1: TIFFFillStrip:Read error at scanline 4294967295; got 0 bytes, expected 25709 ERROR 1: TIFFReadEncodedStrip() failed. ERROR 1: ./dataset/Chesapeake_NewYork_dataset/HR_image/m_4207538_nw_18_1_naip-new.tif, band 1: IReadBlock failed at X offset 0, Y offset 5460: TIFFReadEncodedStrip() failed.

I locate the issue today. It seems to be a tiff file reading issue.
Can you first try to remove this file name line in the .csv file to check if it is a problem of "m_4207538_nw_18_1_naip-new.tif".
This could also be the problem of different versions of "rasterio" imported. I will upload a new "requiements.txt" to the project.
You can also contact me directly at [email protected]

@LiZhuoHong
Copy link
Owner

I am trying to reproduce Paraformer on Chesapeake dataset and during the training process I found that I will get the error of failing to read the tiff, how can I solve this problem?

ERROR 1: TIFFFillStrip:Read error at scanline 4294967295; got 0 bytes, expected 25709 ERROR 1: TIFFReadEncodedStrip() failed. ERROR 1: ./dataset/Chesapeake_NewYork_dataset/HR_image/m_4207538_nw_18_1_naip-new.tif, band 1: IReadBlock failed at X offset 0, Y offset 5460: TIFFReadEncodedStrip() failed.

BTW, my rasterio is : rasterio==1.2.10

@PhenomenonZ
Copy link
Author

thx! it works after removing that file name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants