Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Studio数据集校验报错 #2004

Open
zhangrongxiang opened this issue Sep 18, 2024 · 1 comment
Open

AI Studio数据集校验报错 #2004

zhangrongxiang opened this issue Sep 18, 2024 · 1 comment
Assignees

Comments

@zhangrongxiang
Copy link

zhangrongxiang commented Sep 18, 2024

在AI Studio创建模型产线,进行数据集校验时,报错:

 File "/home/aistudio/template_pipelines/general_object_detection_pipeline/general_object_detection_module/dataset_checker/coco_dataset_checker.py", line 62, in analyse
    return deep_analyse(dataset_dir, self.args.output_dir)
  File "/home/aistudio/template_pipelines/general_object_detection_pipeline/general_object_detection_module/dataset_checker/dataset_src/analyse_dataset.py", line 86, in deep_analyse
    plt.xticks(
  File "/miniconda/envs/myenv/lib/python3.10/site-packages/matplotlib/pyplot.py", line 1816, in xticks
    labels = ax.set_xticklabels(labels, **kwargs)
  File "/miniconda/envs/myenv/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 75, in wrapper
    return get_method(self)(*args, **kwargs)
  File "/miniconda/envs/myenv/lib/python3.10/site-packages/matplotlib/axis.py", line 1798, in _set_ticklabels
    return self.set_ticklabels(labels, minor=minor, **kwargs)
  File "/miniconda/envs/myenv/lib/python3.10/site-packages/matplotlib/axis.py", line 1720, in set_ticklabels
    raise ValueError(
ValueError: The number of FixedLocator locations (2), usually from a call to set_ticks, does not match the number of ticklabels (1).
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!

该数据集是我使用tools里的x2coco生成的

@liu-jiaxuan
Copy link
Collaborator

可以试一下本地校验是否能通过,再就是上传的时候需要打tat包而不是zip~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants