Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastlabel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ def create_pcd_task(
if not utils.is_pcd_supported_ext(file_path):
raise FastLabelInvalidException("Supported extensions are pcd only", 422)
if not utils.is_pcd_supported_size(file_path):
raise FastLabelInvalidException("Supported PCD size is under 30 MB.", 422)
raise FastLabelInvalidException("Supported PCD size is under 100 MB.", 422)

file = utils.base64_encode(file_path)
payload = {"project": project, "name": name, "file": file}
Expand Down
4 changes: 2 additions & 2 deletions fastlabel/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
# API can accept under 2GB
SUPPORTED_DICOM_SIZE = 2000 * math.pow(1024, 2)

# API can accept under 30 MB
SUPPORTED_PCD_SIZE = 30 * math.pow(1024, 2)
# API can accept under 100 MB
SUPPORTED_PCD_SIZE = 100 * math.pow(1024, 2)

# API can accept under 250 MB
SUPPORTED_OBJECT_SIZE = 250 * math.pow(1024, 2)
Expand Down