Help Center/ ModelArts/ FAQs/ ModelArts Standard Data Preparation/ Is There a File Size Limit for Images to Be Added to a ModelArts Dataset?
Updated on 2025-08-28 GMT+08:00

Is There a File Size Limit for Images to Be Added to a ModelArts Dataset?

Data management sets a size limit for images to be uploaded to datasets used for object detection or image classification labeling tasks. The size of an image cannot exceed 8 MB, and only JPG, JPEG, PNG, and BMP formats are supported.

Solutions:

  • Import the images from OBS. Upload images to any OBS directory and import the images from the OBS directory to an existing dataset.
  • Use data source synchronization. Upload images to the input directory or its subdirectory of a dataset, and click Synchronize Data Source on the dataset details page to add new images. Note that synchronizing a data source will delete the files deleted from OBS from the dataset. Exercise caution when performing this operation.
  • Create a dataset. Upload images to any OBS directory. You can directly use the image directory as the input directory to create the dataset.