Full training of MultilingualTextClassification 4.0 launched - Run 76d43538-f839-4034-9f15-fd0f36052e5f
Full training of MultilingualTextClassification 4.0 scheduled - Run 76d43538-f839-4034-9f15-fd0f36052e5f
Full training of MultilingualTextClassification 4.0 started - Run 76d43538-f839-4034-9f15-fd0f36052e5f
Full training of MultilingualTextClassification 4.0 failed - Run 76d43538-f839-4034-9f15-fd0f36052e5f
Error Details : Pipeline failed due to ML Package Issue
2022-12-03 12:31:45,992 - uipath_core.trainer_run:main:73 - INFO: Starting training job…
2022-12-03 12:31:46,125 - matplotlib:_get_config_or_cache_dir:484 - WARNING: Matplotlib created a temporary config/cache directory at /tmp/matplotlib-5otx498p because the default path (/home/aicenter/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2022-12-03 12:31:46,418 - matplotlib.font_manager:_load_fontmanager:1443 - INFO: generated new fontManager
2022-12-03 12:31:48,937 - uipath_core.storage.azure_storage_client:download:115 - INFO: Dataset from bucket folder training-884121af-b7a9-465d-b342-3a168d69b4f9/197a50ac-d1a6-4ae8-8488-c6f1d8506d2e/28c2e010-894f-4fb7-8d82-5d714e27bc92 with size 1 downloaded successfully
2022-12-03 12:31:48,938 - uipath_core.training_plugin:download_dataset:503 - WARNING: Deleting already existing folder name: /data/dataset/test
2022-12-03 12:31:48,978 - uipath_core.storage.azure_storage_client:download:115 - INFO: Dataset from bucket folder training-884121af-b7a9-465d-b342-3a168d69b4f9/197a50ac-d1a6-4ae8-8488-c6f1d8506d2e/28c2e010-894f-4fb7-8d82-5d714e27bc92 with size 1 downloaded successfully
2022-12-03 12:31:48,978 - uipath_core.training_plugin:process_data_model:141 - INFO: Start process model data…
2022-12-03 12:31:48,978 - uipath_core.training_plugin:initialize_model:114 - INFO: Start model initialization…
2022-12-03 12:31:48,981 - uipath_core.training_plugin:initialize_model:117 - INFO: Model initialized successfully
2022-12-03 12:31:48,981 - root:read_all_json:20 - INFO: Reading data from /microservice/dataset
2022-12-03 12:31:48,982 - root:read_all_json:20 - INFO: Reading data from /microservice/dataset/test
2022-12-03 12:31:48,983 - root:read_data:55 - INFO: Series(, Name: label, dtype: int64)
2022-12-03 12:31:48,984 - root:read_data:60 - INFO: Train: (0, 2), Test: (0, 2)
2022-12-03 12:31:48,984 - uipath_core.training_plugin:process_data_model:144 - INFO: Model process data successfully with response None
2022-12-03 12:31:48,984 - uipath_core.training_plugin:evaluate_model:130 - INFO: Start model evaluation…
2022-12-03 12:31:48,984 - root:eval_BERT:67 - INFO: Evaluating using trained BERT model
2022-12-03 12:31:48,984 - root:eval_BERT:68 - INFO: Evaluation dataset size 0
2022-12-03 12:31:48,984 - root:load:212 - INFO: Loading model…
2022-12-03 12:31:48,985 - uipath_core.training_plugin:trigger_full_training_and_publish_model:533 - ERROR: Failed to evaluate untrained model with error: [Errno 2] No such file or directory: ‘/microservice/models/test/model.p’
2022-12-03 12:31:48,985 - uipath_core.training_plugin:train_model:120 - INFO: Start model training…
2022-12-03 12:31:48,986 - uipath_core.training_plugin:trigger_full_training_and_publish_model:560 - ERROR: Failed to trigger full training and publish data, error: single positional indexer is out-of-bounds
2022-12-03 12:31:48,986 - uipath_core.training_plugin:model_run:169 - ERROR: Training failed for pipeline type: FULL_TRAINING, error: single positional indexer is out-of-bounds
2022-12-03 12:31:48,988 - uipath_core.trainer_run:main:90 - ERROR: Training Job failed, error: single positional indexer is out-of-bounds
Traceback (most recent call last):
File “/home/aicenter/.local/lib/python3.8/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.8/site-packages/uipath_core/training_plugin.py”, line 185, in model_run
raise ex
File “/home/aicenter/.local/lib/python3.8/site-packages/uipath_core/training_plugin.py”, line 157, in model_run
self.run_full_training()
File “/home/aicenter/.local/lib/python3.8/site-packages/uipath_core/training_plugin.py”, line 205, in run_full_training
self.trigger_full_training_and_publish_model()
File “/home/aicenter/.local/lib/python3.8/site-packages/uipath_core/training_plugin.py”, line 561, in trigger_full_training_and_publish_model
raise e
File “/home/aicenter/.local/lib/python3.8/site-packages/uipath_core/training_plugin.py”, line 537, in trigger_full_training_and_publish_model
self.train_model(self.training_data_directory)
File “/home/aicenter/.local/lib/python3.8/site-packages/uipath_core/training_plugin.py”, line 122, in train_model
response = self.model.train(directory)
File “/microservice/train.py”, line 53, in train
train.train(self.opt, self.df_train, self.df_test)
File “”, line 66, in train
File “”, line 24, in train_bert
File “”, line 93, in create_from_dataframes
File “”, line 28, in init
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 967, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 1520, in _getitem_axis
self._validate_integer(key, axis)
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 1452, in _validate_integer
raise IndexError(“single positional indexer is out-of-bounds”)
IndexError: single positional indexer is out-of-bounds
**I’m facing this issue while running the ML package MultilingualTextClassification.
Below are the steps I followed to train a model.
- Datasets → create a folder training and upload the csv file to this folder.
- ML Package → Create a ML Package for Multilingual model.
- Pipeline → After creating ML Package, create a pipeline for ML package and run the pipeline
After this steps I got the error.
Please help to resolve this issue**