Open duane-edgington opened 1 month ago
I fixed the bug in my notebook with the following code
query_response = query(model_predictor, NAXOS_TAVERNA) json_string = json.dumps(query_response) encoded_bytes = json_string.encode('utf-8') final_query_response = bytearray(encoded_bytes) normalized_boxes, classes_names, confidences = parse_response(final_query_response)
Link to the notebook amazon-sagemaker-examples/ archived /Amazon_Tensorflow_Object_Detection.ipynb Describe the bug TypeError: the JSON object must be str, bytes or bytearray, not dict thrown using default parameters/selections
at normalized_boxes, classes_names, confidences = parse_response(query_response)
To reproduce A clear, step-by-step set of instructions to reproduce the bug. open notebook tensorflow-od1-ssd-resnet50-v1-fpn-1024x1024-coco17-tpu-8-SDK.ipynb step through the notebook executing each line
Logs If applicable, add logs to help explain your problem. You may also attach an
.ipynb
file to this issue if it includes relevant logs or output. tensorflow-od1-ssd-resnet50-v1-fpn-1024x1024-coco17-tpu-8-SDK.ipynb.txt