Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
# Load data files
image_path, labelled_class, ohe_class, class_name = load_dataset(data_root)
the problem is


1.
name 'image_path' is not defined

2.
labelled_class is not defined

3
ohe_classis not defined

4.
class_name = load_dataset(data_root)is not defined


What I have tried:

Tried to get the image path, labelled_class,ohe_class and
class_name = load_dataset(data_root)
Posted
Comments
Richard MacCutchan 2-Sep-21 6:15am    
Those error messages suggest that load_dataset(data_root) did not return any values. Check the documentation for the package that contains that function.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900