Week 1 Jupyter Notebook is not working

Please share your inputs in resolving an issue as I’m getting the below error in Jupyter Notebook.

)

ValueError Traceback (most recent call last)
in <cell line: 12>()
10
11
—> 12 (visualization_training_images, visualization_training_bboxes) = dataset_to_numpy_util(visualization_training_dataset, N=10)
13 display_digits_with_boxes(np.array(visualization_training_images), np.array(), np.array(visualization_training_bboxes), np.array(), “training images and their bboxes”)

in dataset_to_numpy_util(dataset, batch_size, N)
16 ds_bboxes.append(bboxes.numpy())
17
—> 18 return (np.array(ds_images), np.array(ds_bboxes))

ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (10


,) + inhomogeneous part.

Hello @Sudarshan_Singh

Can you go back to the classroom page, refresh, and re-open notebook and then do the assignment as their was recent bug issue with the cell you are mentioning.

Regards
DP

2 Likes

Thank you so much. It’s working now

1 Like