tensorflow/models · error · ValueError
Bucket path must be non-empty starting with 'gs://'
Error message
Bucket path must be non-empty starting with 'gs://'
What it means
Error "Bucket path must be non-empty starting with 'gs://'" thrown in tensorflow/models.
Source
Thrown at official/projects/waste_identification_ml/Deploy/detr_cloud_deployment/client/inference_pipeline.py:101
_IMAGE_SAVING_WIDTH = 432
_IMAGE_SAVING_HEIGHT = 432
_TRACKING_IMAGE_WIDTH = 300
_TRACKING_IMAGE_HEIGHT = 300
# https://soft-matter.github.io/trackpy/dev/tutorial/adaptive-search.html
_ADAPTIVE_STOP = 5
_ADAPTIVE_STEP = 0.95
def main(_) -> None:
# Check if the input and output directories are valid.
if (
not INPUT_DIRECTORY.value
or not OUTPUT_DIRECTORY.value
or not INPUT_DIRECTORY.value.startswith("gs://")
or not OUTPUT_DIRECTORY.value.startswith("gs://")
):
raise ValueError("Bucket path must be non-empty starting with 'gs://'")
input_directory, prediction_folder, logger = (
utils.setup_logger_and_directories(input_dir=INPUT_DIRECTORY.value)
)
filepaths_to_capture_time_dict = {
filepath: utils.get_image_capture_time(filepath)
for filepath in utils.files_paths(os.path.basename(input_directory))
}
model_manager = TritonObjectDetector(model_name=MODEL_NAME.value)
tracking_manager = ObjectTracker(
search_range=(SEARCH_RANGE_Y.value, SEARCH_RANGE_X.value),
memory=MEMORY.value,
adaptive_stop=_ADAPTIVE_STOP,
adaptive_step=_ADAPTIVE_STEP,
)
View on GitHub (pinned to e006f5f0d5)
When it happens
Trigger: Thrown at official/projects/waste_identification_ml/Deploy/detr_cloud_deployment/client/inference_pipeline.py:101 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of tensorflow/models@e006f5f0d5 (2026-08-24).
Data as JSON: /api/errors/325063a6baa9839b.
Report an issue: GitHub.