model.fit(train_dataset.batch(BATCH_SIZE),
validation_data = val_dataset.batch(BATCH_SIZE),
shuffle=True,
epochs = 2)
crashes. restarting the kernel doesn’t help.
model.fit(train_dataset.batch(BATCH_SIZE),
validation_data = val_dataset.batch(BATCH_SIZE),
shuffle=True,
epochs = 2)
crashes. restarting the kernel doesn’t help.
based on your error output, I would check at 3 places
Regards
DP
I don’t spot anything wrong with the code and global variables. Most of the cells are read-only for illustration purposes. ALL of the preceding unit tests pass!
click on my name and then message me screenshot of the grade function codes for masked accuracy.
Passing unittest test doesn’t confirm always your codes are correct, unittest are independent and relative to its respective grade function codes which may or may not pass based on the autograder or metadata.
hi @khteh
as I said your codes for
Compute masked accuracy (quotient between the total matches and the total valid values, i.e., the amount of non-masked values)
don’t require the axis argument, please remove it.