For exercise 1, I assigned the value to m_train = train_set_x_orig.shape[0] as the given example, and the same goes with m_test and num_px. But when running the code, I received an error: NameError: name ‘train_set_x_orig’ is not defined. Isn’t the train_set_x_orig already loaded as data in the previous code?
Yes, but only if you actually have run that earlier cell. Just having the cell sitting there does nothing until you actually run it.
1 Like
Got it, thank you!