
IsmatS/crop_desease_detection
Object Detection
•
Updated
•
28
Error code: DatasetGenerationError Exception: UnicodeDecodeError Message: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1854, in _prepare_split_single for _, table in generator: File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/xml/xml.py", line 66, in _generate_tables xml = f.read() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 826, in read_with_retries out = read(*args, **kwargs) File "/usr/local/lib/python3.9/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1420, in compute_config_parquet_and_info_response parquet_operations = convert_to_parquet(builder) File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1052, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split for job_id, done, content in self._prepare_split_single( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1897, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
xml
string |
---|
<?xml version="1.0" ?>
<annotation>
<folder>Forestry disaster large</folder>
<filename>images_(1).JPG</filename>
<path>C:\Users\wr180\Desktop\Forestry disaster large\images_(1).JPG</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>5472</width>
<height>3648</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>35</xmin>
<ymin>63</ymin>
<xmax>79</xmax>
<ymax>90</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>5447</xmin>
<ymin>391</ymin>
<xmax>5472</xmax>
<ymax>421</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>219</xmin>
<ymin>21</ymin>
<xmax>253</xmax>
<ymax>50</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>2570</xmin>
<ymin>1760</ymin>
<xmax>2624</xmax>
<ymax>1819</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>3335</xmin>
<ymin>605</ymin>
<xmax>3373</xmax>
<ymax>638</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>2768</xmin>
<ymin>1602</ymin>
<xmax>2901</xmax>
<ymax>1749</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>2603</xmin>
<ymin>1689</ymin>
<xmax>2730</xmax>
<ymax>1807</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>2693</xmin>
<ymin>1761</ymin>
<xmax>2791</xmax>
<ymax>1824</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>3452</xmin>
<ymin>2732</ymin>
<xmax>3528</xmax>
<ymax>2824</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>4824</xmin>
<ymin>485</ymin>
<xmax>4856</xmax>
<ymax>524</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>3805</xmin>
<ymin>2356</ymin>
<xmax>3873</xmax>
<ymax>2436</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>4921</xmin>
<ymin>2400</ymin>
<xmax>4970</xmax>
<ymax>2466</ymax>
</bndbox>
</object>
<object>
<name>unhealthy</name>
<pose>Unspecified</pose>
<truncated>0</truncated>
<difficult>0</difficult>
<bndbox>
<xmin>4252</xmin>
<ymin>2507</ymin>
<xmax>4345</xmax>
<ymax>2595</ymax>
</bndbox>
</object>
</annotation>
|
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |
"<?xml version=\"1.0\" ?>\n<annotation>\n<folder>Forestry disaster large</folder>\n<filename>images_(...TRUNCATED) |