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
quality attribute names should be improved to have a consistent way, e.g., some start with capital letters, some are not:
quality["ImageWidth"] = image.width
quality["ImageHeight"] = image.height
quality["ImageSize"] = image.size
quality["ColorMode"] = image.mode
quality["ColorChannel"] = len(image.getbands())
return quality
def eva_none(data):
try:
if is_pddataframe(data):
data = data.to_numpy()
if is_numpyarray(data):
valid_count = np.count_nonzero(~np.isnan(data))
none_count = np.count_nonzero(np.isnan(data))
results = {}
results["totalValid"] = valid_count
results["totalNone"] = none_count
results["noneRatio"] = valid_count/(valid_count+none_count)
return results
also catalog of attributes should be updated to reflect the attributes being supported.
The text was updated successfully, but these errors were encountered:
quality attribute names should be improved to have a consistent way, e.g., some start with capital letters, some are not:
quality["ImageWidth"] = image.width
quality["ImageHeight"] = image.height
quality["ImageSize"] = image.size
quality["ColorMode"] = image.mode
quality["ColorChannel"] = len(image.getbands())
return quality
def eva_none(data):
try:
if is_pddataframe(data):
data = data.to_numpy()
if is_numpyarray(data):
valid_count = np.count_nonzero(~np.isnan(data))
none_count = np.count_nonzero(np.isnan(data))
results = {}
results["totalValid"] = valid_count
results["totalNone"] = none_count
results["noneRatio"] = valid_count/(valid_count+none_count)
return results
also catalog of attributes should be updated to reflect the attributes being supported.
The text was updated successfully, but these errors were encountered: