-
Hi,
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If you are using Raster Vision as a library (i.e. as shown in that tutorial), then you can use whatever model and loss function you like. You will just need to pass them to the The discussion in #1472 (comment) is about using Raster Vision as a framework (see The Raster Vision Pipeline). In that scenario, the custom models or loss functions are imported via torch hub, which just means that you need to point to a GitHub repo with a |
Beta Was this translation helpful? Give feedback.
If you use a custom model or loss function, by passing it directly to the
Learner
constructor, you will not be able to re-construct it from the model bundle alone, as noted here:You will need to pass it again when initializing the
Learner
from the model bundle:In the above example, the weights will be loaded from the bundle into the model that you passed in, so it's important that you pass in exactly the same model that you used for training.
If you do want the model to be re-constructable form…