要改用sample_weight,也就是說,label是pixel等級的,必須要把得到label shape,reshape成1維,再一一對不同label加入weight。 ValueError: If steps_per_epoch is set, ...
確定! 回上一頁