-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type:modelmakerIssues related to creation of custom on-device ML solutionsIssues related to creation of custom on-device ML solutions
Description
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
Windows11
Python Version
3.11
MediaPipe Model Maker version
No response
Task name (e.g. Image classification, Gesture recognition etc.)
Object detection
Describe the actual behavior
tf_model_garden model cannot be downloaded
Describe the expected behaviour
tf_model_garden model should be downloadable
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
model = object_detector.ObjectDetector.create(
train_data=train_data,
validation_data=validation_data,
options=options)
/usr/local/lib/python3.11/dist-packages/keras/src/engine/functional.py:642: UserWarning: Input dict contained keys ['6'] which did not match any model input. They will be ignored by the model.
inputs = self._flatten_to_reference_inputs(inputs)
WARNING:tensorflow:`tf.keras.layers.experimental.SyncBatchNormalization` endpoint is deprecated and will be removed in a future release. Please use `tf.keras.layers.BatchNormalization` with parameter `synchronized` set to True.
Downloading https://storage.googleapis.com/tf_model_garden/vision/qat/mobilenetv3.5_ssd_coco/mobilenetv3.5_ssd_i256_ckpt.tar.gz to /tmp/model_maker/object_detector/mobilenetmultiavg
---------------------------------------------------------------------------
ReadError Traceback (most recent call last)
/tmp/ipython-input-7-5300388.py in <cell line: 0>()
----> 1 model = object_detector.ObjectDetector.create(
2 train_data=train_data,
3 validation_data=validation_data,
4 options=options)
5 frames
/usr/lib/python3.11/tarfile.py in open(cls, name, mode, fileobj, bufsize, **kwargs)
1856 continue
1857 error_msgs_summary = '\n'.join(error_msgs)
-> 1858 raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}")
1859
1860 elif ":" in mode:
ReadError: file could not be opened successfully:
- method gz: ReadError('empty file')
- method bz2: ReadError('not a bzip2 file')
- method xz: ReadError('not an lzma file')
- method tar: ReadError('empty file')Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:modelmakerIssues related to creation of custom on-device ML solutionsIssues related to creation of custom on-device ML solutions