Very interesting; as mentioned; this is very much an exploratory discussion from my side! All pointers and thoughts much appreciated.
Poking around in the code I’ve come across -
class DynamicUnet(SequentialEx):
"Create a U-Net from a given architecture."
....
https://github.com/fastai/fastai/blob/master/nbs/15a_vision.models.unet.ipynb
This model seems to have quite a bit of “bespoke” logic; but could weights trained with some other unet model be “re-used” and still give accurate results?
I don’t actually see a “unet” model in https://pytorch.org/docs/stable/torchvision/models.html … maybe they have a different naming there?
I think the a reasonable point of reference for the fastai ResNet model can be looked at here
class ResBlock(Module):
"Resnet block from `ni` to `nh` with `stride`"
https://github.com/fastai/fastai/blob/master/nbs/01_layers.ipynb
And again; it seems quite bespoke. My guess was it would require its own training cycle; but if its actually possible to re-use waits from “similar” pytorch models; that would be … good to know, and highlight I’ve got a lot more understanding
to get my head around!
Are those reasonable places to consider the definition of fastai unets and resnets?