Skip to content

Make the ordering of prior_boxes deterministic#5

Open
waldeland wants to merge 1 commit intosgrvinod:masterfrom
waldeland:waldeland-patch-1
Open

Make the ordering of prior_boxes deterministic#5
waldeland wants to merge 1 commit intosgrvinod:masterfrom
waldeland:waldeland-patch-1

Conversation

@waldeland
Copy link

Hi, and thanks for the great code. It is very easy to understand.

In the current implementation the ordering of the prior_boxes-list is random. This makes it impossible to load pretrained model weights (without the model definition).

The following fix sorts the dictionary keys alphabetically which should fix the problem.

In the current implementation the ordering of the prior_boxes-list is random. This makes it impossible to load pretrained model weights (without the model definition).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant