Traceback (most recent call last):


 "c:\users\anaconda3\envs\ludwig\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\users\anaconda3\envs\ludwig\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Users\Anaconda3\envs\ludwig\Scripts\ludwig.exe\__main__.py", line 9, in <module>


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\cli.py", line 94, in main

CLI()


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\cli.py", line 60, in __init__

getattr(self, args.command)()


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\cli.py", line 70, in train

train.cli(sys.argv[2:])


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\train.py", line 764, in cli

full_train(**vars(args))


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\train.py", line 252, in full_train

random_seed=random_seed


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\data\preprocessing.py", line 403, in preprocess_for_training

random_seed


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\data\preprocessing.py", line 525, in _preprocess_csv_for_training

random_seed=random_seed


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\data\preprocessing.py", line 62, in build_dataset

**kwargs


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\data\preprocessing.py", line 90, in build_dataset_df

global_preprocessing_parameters


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\data\preprocessing.py", line 165, in build_data

preprocessing_parameters


 "c:\users\anaconda3\envs\ludwig\lib\site-packages\ludwig\features\image_feature.py", line 215, in add_feature_data

data[feature['name']][i, :, :, :] = img
ValueError: could not broadcast input array from shape (1152,1422,1) into shape (1858,2090,1)

Traceback (most recent call last):



 "<ipython-input-7-322b61673763>", line 1, in <module>

runfile('C:/Users/123/Desktop/PKE/train/test/Train_model.py', wdir='C:/Users/123/Desktop/PKE/train/test')



 "C:\Users\123\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 668, in runfile

execfile(filename, namespace)



 "C:\Users\123\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile

exec(compile(f.read(), filename, 'exec'), namespace)



 "C:/Users/123/Desktop/PKE/train/test/Train_model.py", line 32, in <module>

model=pke.supervised.Kea())



 "C:\Users\123\Anaconda3\lib\site-packages\pke\utils.py", line 216, in train_supervised_model

model_file=model_file)



 "C:\Users\123\Anaconda3\lib\site-packages\pke\supervised\feature_based\kea.py", line 168, in train

clf.fit(training_instances, training_classes)



 "C:\Users\123\Anaconda3\lib\site-packages\sklearn\naive_bayes.py", line 585, in fit

X, y = check_X_y(X, y, 'csr')



 "C:\Users\123\Anaconda3\lib\site-packages\sklearn\utils\validation.py", line 749, in check_X_y

estimator=estimator)



 "C:\Users\123\Anaconda3\lib\site-packages\sklearn\utils\validation.py", line 549, in check_array

"if it contains a single sample.".format(array))

ValueError: Expected 2D array, got 1D array instead:
