Viewing a single comment thread. View all comments

Competitive-Good4690 OP t1_iv4e66u wrote

Reply to comment by sgjoesg in U-Net architecture by Competitive-Good4690

So model.fit is an inbuilt function for training the model which I don’t want to use. I want to define the model on my own

1

sgjoesg t1_iv4ezuu wrote

As far as i know, if you create your own class inheriting from tf.keras, then that class can use .fit function. Eg class unet(tf.keras) Model_definition_as_per_arch model = unet() model.fit(data)

So you have the control to use your own model, and use keras's easy training loop as well.

2

Competitive-Good4690 OP t1_iv4fdo1 wrote

Yes thank you I’m Referring to Connor Shorten’s video on U-Net (Keras) he’s saying exactly what u just said.. thank you for the response.. really appreciated.. Abhisek Thakur is using PyTorch but he did explain the concept well

1

sgjoesg t1_iv4hum4 wrote

Glad i could help(in some way lol)💯

1