refinenet-keras icon indicating copy to clipboard operation
refinenet-keras copied to clipboard

inference.py - # Import classes from csv file

Open katrin1401 opened this issue 4 years ago • 2 comments

Hi Attila,

Sorry to bother you again. This issue is related to the import from csv file:

class_names_list, mask_colors, num_class, class_names_string = get_label_info(class_dict)

So you want to read in 4 variables form the output of the function get_label_info from scripts.helpers, but that function returns 2 items and not 4: return label_values, len(label_values)

So I changed it to the line below, but my output images are all black. return label_values, label_values, len(label_values), class_names_string

I am wondering how this should be solved. Thanks in advance!

katrin1401 avatar Apr 21 '20 07:04 katrin1401

I chenged it to:

Import classes from csv file

mask_colors, num_class = get_label_info(class_dict)

But am still getting purely black predicted images :/

katrin1401 avatar Apr 21 '20 13:04 katrin1401

Same issue, have you solved? @katrin1401

lcxywfe avatar May 05 '20 03:05 lcxywfe