Config for fine-tuning #1710
-
Hey all, I am using Rastervision 0.13 for car detection on RGB satellite images. I trained a fasterRCNN on xView data (as explained in your tutorial) and would like to fine-tune this model on a different dataset. I saw in your documentation 2 methods for fine tuning :
ObjectDetectionConfig(
root_uri=root_uri,
[...]
source_bundle_uri= base_uri + "model-bundle.zip")
model = ObjectDetectionModelConfig(backbone=Backbone.resnet50, init_weights=base_uri + "last-model.pth") My questions are :
Thanks a lot for your help ! Laetitia |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello again! You are right that there currently are multiple ways of doing this.
They should be equivalent, yes. Though, to be very honest, I am not very happy with 1 (the
The weights are the same. Technically, the config in the one in
They are the same.
The weights are saved after every epoch to
I'm assuming you mean that you manually kill the job in the middle of training. In that case, the weights from the last completed epoch will be in Hope this helps. Please feel free to ask more questions. P.S. I would strongly recommend upgrading to Raster Vision v0.20. |
Beta Was this translation helpful? Give feedback.
-
Hi @AdeelH, thanks for your answer ! I was able to make my code more straightforward =) But now I'm wondering why For exemple, I had a training that looked this this : Also, I'm wondering why the
Thanks a lot for you help @AdeelH ! PS : You convinced me ! I am upgrading to Raster Vision v0.20, but I have an issue... I guess I will open another discussion. |
Beta Was this translation helpful? Give feedback.
Hello again!
You are right that there currently are multiple ways of doing this.
They should be equivalent, yes. Though, to be very honest, I am not very happy with 1 (the
source_bundle_uri
thing) and would like to remove it in the future.The weights are the same. Technically, the config in the one in
bundle/
is anRVPipeline…