You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if images have been processed as TIFF images instead of JPEG (createDataSpaceNet.py) :
dataset.py:
replace('.tif', 'segcls.png')
polygonize.py:
when iterating through files:
#image_files = [image_file for image_file in image_files if image_file.endswith('.jpg')] #.tif since i produced files in tif format using script createDataSpaceNet.py
image_files = [image_file for image_file in image_files if ( image_file.endswith('.tif') and (not (image_file.endswith('segcls.tif')) and (not (image_file.endswith('segobj.tif'))) ) )]
if images have been processed as TIFF images instead of JPEG (createDataSpaceNet.py) :
dataset.py:
replace('.tif', 'segcls.png')
polygonize.py:
when iterating through files:
#image_files = [image_file for image_file in image_files if image_file.endswith('.jpg')] #.tif since i produced files in tif format using script createDataSpaceNet.py
image_files = [image_file for image_file in image_files if ( image_file.endswith('.tif') and (not (image_file.endswith('segcls.tif')) and (not (image_file.endswith('segobj.tif'))) ) )]
and
#image_name_no_file_type = image_name.split('.jpg')[0]
image_name_no_file_type = image_name.split('.tif')[0]
The text was updated successfully, but these errors were encountered: