Skip to content

Problem predict #15

@Artem921

Description

@Artem921

when loading my training weights the same tensor is predicted

model.load_weights('/home/artem/object detection/virtual/Mobilenet-ssd-keras/MobilenetWeights/mobilenet.h5', by_name=True,skip_mismatch=True)

y_pred = model.predict(input_images)
print(y_pred)

[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
...
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]]]
[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
...
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]]]
[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
...
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]]]
[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
...
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]]]
[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
...
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]]]
[[[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
[0.25 0.25 0.25 ... 0.1 0.2 0.2 ]
.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions