You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm actually using AWS sagemaker as the platform and have the dadaset both in my local system and as well as in s3 bucket. But receiving the same error for both datasets! Receiving this the following error while trying to run the following code:
I'm actually using AWS sagemaker as the platform and have the dadaset both in my local system and as well as in s3 bucket. But receiving the same error for both datasets! Receiving this the following error while trying to run the following code:
train_data, train_target, train_id = normalize_train_data()
Loading training images...
Loading dogs files (Index: 0)
Loading cats files (Index: 1)
Training data load time: 0.0 seconds
ValueError Traceback (most recent call last)
in ()
----> 1 train_data, train_target, train_id = normalize_train_data()
in normalize_train_data()
5 train_target = np.array(train_target, dtype=np.uint8)
6
----> 7 train_data = train_data.transpose((0, 3, 1, 2))
8
9 train_data = train_data.astype('float32')
ValueError: axes don't match array
The text was updated successfully, but these errors were encountered: