Hi,
When I try to train the data , facing an error.
Train only of Test 3.0 scheduled - Run 394ce682-03a6-4b7e-93df-70a003834d24
Train only of Test 3.0 launched - Run 394ce682-03a6-4b7e-93df-70a003834d24
Train only of Test 3.0 started - Run 394ce682-03a6-4b7e-93df-70a003834d24
Train only of Test 3.0 failed - Run 394ce682-03a6-4b7e-93df-70a003834d24
Error Details : Pipeline failed due to ML Package Issue
2022-05-16 15:29:37,486 - uipath_core.trainer_run:main:73 - INFO: Starting training job…
2022-05-16 15:29:40,174 - uipath_core.storage.azure_storage_client:download:106 - INFO: Dataset from bucket folder training-03a5a3ba-35d3-4e7a-9c7d-10737e63a54d/4335ceab-9094-4cb6-95cd-4a4e6f61076f/e60883fe-95ec-4255-a4af-fde9b76998d9 with size 1 downloaded successfully
2022-05-16 15:29:40,175 - uipath_core.training_plugin:train_model:114 - INFO: Start model training…
2022-05-16 15:29:40,175 - uipath_core.training_plugin:initialize_model:108 - INFO: Start model initialization…
2022-05-16 15:29:40,175 - uipath_core.training_plugin:initialize_model:111 - INFO: Model initialized successfully
2022-05-16 15:29:40,176 - aiflib.data_manager:info:14 - INFO: Loading data from /data/dataset…
2022-05-16 15:29:40,185 - aiflib.data_manager:info:14 - INFO: File [/data/dataset/train.csv] does not have name [target] in header[‘id’, ‘diagnosis’, ‘radius_mean’, ‘texture_mean’, ‘perimeter_mean’, ‘area_mean’, ‘smoothness_mean’, ‘compactness_mean’, ‘concavity_mean’, ‘concave points_mean’, ‘symmetry_mean’, ‘fractal_dimension_mean’, ‘radius_se’, ‘texture_se’, ‘perimeter_se’, ‘area_se’, ‘smoothness_se’, ‘compactness_se’, ‘concavity_se’, ‘concave points_se’, ‘symmetry_se’, ‘fractal_dimension_se’, ‘radius_worst’, ‘texture_worst’, ‘perimeter_worst’, ‘area_worst’, ‘smoothness_worst’, ‘compactness_worst’, ‘concavity_worst’, ‘concave points_worst’, ‘symmetry_worst’, ‘fractal_dimension_worst’, ‘Unnamed: 32’]‘, skipping this file. The csv file must contain a header, a target column and and at least one feature column. The target column name is set by the <input_column> variable of this run. The default value is ‘target’.
2022-05-16 15:29:40,185 - aiflib.data_manager:info:14 - INFO: Unable to read any valid data from *.csv files in [/data/dataset]
2022-05-16 15:29:40,185 - uipath_core.training_plugin:model_run:150 - ERROR: Training failed for pipeline type: TRAIN_ONLY, error: No valid data to run this pipeline.
2022-05-16 15:29:40,186 - uipath_core.trainer_run:main:90 - ERROR: Training Job failed, error: No valid data to run this pipeline.
Traceback (most recent call last):
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/trainer_run.py”, line 85, in main
wrapper.run()
File “/microservice/training_wrapper.py”, line 57, in run
return self.training_plugin.model_run()
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 151, in model_run
raise e
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 143, in model_run
self.run_train_only()
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 212, in run_train_only
self.train_model(self.local_dataset_directory)
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 116, in train_model
self.model.train(directory)
File “/microservice/train.py”, line 11, in train
self.model.train(training_directory)
File “/microservice/aiflib/model.py”, line 44, in train
raise UiPathUsageException(“No valid data to run this pipeline.”)
aiflib.logger.UiPathUsageException: No valid data to run this pipeline.
2022-05-16 15:30:05,399 - uipath_core.trainer_run:main:73 - INFO: Starting training job…
2022-05-16 15:30:08,067 - uipath_core.logs.upload_log_service:upload_logs_file:87 - INFO: Retry Training Triggered:
2022-05-16 15:30:08,081 - uipath_core.storage.azure_storage_client:download:106 - INFO: Dataset from bucket folder training-03a5a3ba-35d3-4e7a-9c7d-10737e63a54d/4335ceab-9094-4cb6-95cd-4a4e6f61076f/e60883fe-95ec-4255-a4af-fde9b76998d9 with size 1 downloaded successfully
2022-05-16 15:30:08,082 - uipath_core.training_plugin:train_model:114 - INFO: Start model training…
2022-05-16 15:30:08,082 - uipath_core.training_plugin:initialize_model:108 - INFO: Start model initialization…
2022-05-16 15:30:08,082 - uipath_core.training_plugin:initialize_model:111 - INFO: Model initialized successfully
2022-05-16 15:30:08,083 - aiflib.data_manager:info:14 - INFO: Loading data from /data/dataset…
2022-05-16 15:30:08,092 - aiflib.data_manager:info:14 - INFO: File [/data/dataset/train.csv] does not have name [target] in header[‘id’, ‘diagnosis’, ‘radius_mean’, ‘texture_mean’, ‘perimeter_mean’, ‘area_mean’, ‘smoothness_mean’, ‘compactness_mean’, ‘concavity_mean’, ‘concave points_mean’, ‘symmetry_mean’, ‘fractal_dimension_mean’, ‘radius_se’, ‘texture_se’, ‘perimeter_se’, ‘area_se’, ‘smoothness_se’, ‘compactness_se’, ‘concavity_se’, ‘concave points_se’, ‘symmetry_se’, ‘fractal_dimension_se’, ‘radius_worst’, ‘texture_worst’, ‘perimeter_worst’, ‘area_worst’, ‘smoothness_worst’, ‘compactness_worst’, ‘concavity_worst’, ‘concave points_worst’, ‘symmetry_worst’, ‘fractal_dimension_worst’, ‘Unnamed: 32’]’, skipping this file. The csv file must contain a header, a target column and and at least one feature column. The target column name is set by the <input_column> variable of this run. The default value is ‘target’.
2022-05-16 15:30:08,092 - aiflib.data_manager:info:14 - INFO: Unable to read any valid data from *.csv files in [/data/dataset]
2022-05-16 15:30:08,092 - uipath_core.training_plugin:model_run:150 - ERROR: Training failed for pipeline type: TRAIN_ONLY, error: No valid data to run this pipeline.
2022-05-16 15:30:08,092 - uipath_core.trainer_run:main:90 - ERROR: Training Job failed, error: No valid data to run this pipeline.
Traceback (most recent call last):
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/trainer_run.py”, line 85, in main
wrapper.run()
File “/microservice/training_wrapper.py”, line 57, in run
return self.training_plugin.model_run()
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 151, in model_run
raise e
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 143, in model_run
self.run_train_only()
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 212, in run_train_only
self.train_model(self.local_dataset_directory)
File “/home/aicenter/.local/lib/python3.6/site-packages/uipath_core/training_plugin.py”, line 116, in train_model
self.model.train(directory)
File “/microservice/train.py”, line 11, in train
self.model.train(training_directory)
File “/microservice/aiflib/model.py”, line 44, in train
raise UiPathUsageException(“No valid data to run this pipeline.”)
aiflib.logger.UiPathUsageException: No valid data to run this pipeline.
I have attached the train dataset.
train.xlsx (109.1 KB)