The error message suggests that the 'LoadData' object does not have an attribute called 'classes'.

To resolve this issue, you can check the 'LoadData' class definition and make sure that the 'classes' attribute is defined correctly. It should be a property or a method that returns the list of classes in the dataset.

If the 'classes' attribute is missing or not implemented correctly, you may need to modify the 'LoadData' class to include it. Alternatively, you can access the classes directly from the dataset object, if it has a 'classes' attribute

classes = datasetclassesAttributeError LoadData object has no attribute classes

原文地址: https://www.cveoy.top/t/topic/iaeI 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录