-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Message #13
Comments
Hi Jenny, Lines 235 to 258 in 96c488b
My guess is that you need to provide class_images as the error message says. It should be a list of tensors containing images of classes-to-detect. Best, |
Hi Anton For training mode, I understand, I need to specify the classes but what about inference mode? As I am interested in inference mode, not training. |
I think you can still pass images, class_images and train_mode=False into this function at it should work. This way the features from the class images will be extracted at the same call. Alternatively you can precompute these class features and pass the class_head as done here: Lines 268 to 269 in 96c488b
|
Hi Anton
I am stuck with this error message:
assert class_images is not None, "If class_conv_layer is None than class_images cannot be None"
I want to convert your pytorch model into tensorflow model using onnx. I try to create dummy_input and get this error message.
Can you please explain it? Do I always need to specify class_images?
Here is an example of my conversion code:
The text was updated successfully, but these errors were encountered: