dl-agriculture icon indicating copy to clipboard operation
dl-agriculture copied to clipboard

Ran the trained model but returns a black image

Open yangx789 opened this issue 1 year ago • 0 comments

Hello, I tried to run the trained model with the image.tif under predict folder, but it returns a black image. Any help will be appreciated. Here are more details: Conda virtual environment: Python 3.10, GDAL 3.6.2 Following the tutorial code on Google Collab: https://colab.research.google.com/github/mapbiomas-brazil/irrigation/blob/mapbiomas50/center-pivot-irrigation-systems/semantic_segmentation.ipynb Dataset: downloaded from MAPBIOMAS-PUBLIC collection 5 from this site: https://colab.research.google.com/corgiredirector?site=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1EPfe4G6Y32c6eTrM6gnTjxr7KUlrGwAt%3Fusp%3Dsharing

image Predict image: image Output results: image

Additional information: I also trained a model with MAPBIOMAS-PUBLIC collection 5 dataset, but it also outputs a black image.

yangx789 avatar Feb 29 '24 01:02 yangx789