UNET-Segmentation-on-CT-Scan-Images-in-TensorFlow-2.0 icon indicating copy to clipboard operation
UNET-Segmentation-on-CT-Scan-Images-in-TensorFlow-2.0 copied to clipboard

I got this error

Open Neha-ksu opened this issue 1 year ago • 0 comments


**InvalidArgumentError Traceback (most recent call last) Input In [9], in <cell line: 14>() 4 model.compile(loss=dice_loss, optimizer=Adam(lr), metrics=metrics) 6 callbacks = [ 7 ModelCheckpoint(model_path, verbose=1, save_best_only=True), 8 ReduceLROnPlateau(monitor='val_loss', factor=0.1, patience=10, min_lr=1e-7, verbose=1), (...) 11 EarlyStopping(monitor='val_loss', patience=50, restore_best_weights=False), 12 ] ---> 14 model.fit( 15 train_dataset, 16 epochs=num_epochs, 17 validation_data=valid_dataset, 18 callbacks=callbacks, 19 shuffle=False 20 )

Neha-ksu avatar May 03 '23 03:05 Neha-ksu