how to load custom model for inference #5872
-
I am new to PyTorch and training for custom object detection. After model created , trying to load from local folder.
The above code does not create bounding box on the output video file. I am following this code below and modify it, to load local model. Not sure, what i am missing. Any thoughts Welcome 👍 . |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
@e101sg you have a typo in your arguments, Flase. In any case, I don't know why you would attempt to pass pretrained=False if you are expecting trained results. |
Beta Was this translation helpful? Give feedback.
-
The following code works for me.
|
Beta Was this translation helpful? Give feedback.
-
I don't want to use custom. However this doesn't work either |
Beta Was this translation helpful? Give feedback.
@e101sg you have a typo in your arguments, Flase.
In any case, I don't know why you would attempt to pass pretrained=False if you are expecting trained results.