Submitted by Competitive-Good4690 t3_ymgg7o in deeplearning
sgjoesg t1_iv42snj wrote
Also, what do you mean by non model.fit? And why?
Competitive-Good4690 OP t1_iv4e66u wrote
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
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.
puppet_pals t1_iv4jtpc wrote
>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
just use the UNet using that runs with model.fit() and implement your own training loop following this guide: https://lukewood.xyz/blog/keras-model-walkthrough
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
sgjoesg t1_iv4hum4 wrote
Glad i could help(in some way lol)💯
Viewing a single comment thread. View all comments