Skip to content
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

test(tailor): assure weights are preserved after calling to_embedding_model #106

Merged
merged 4 commits into from
Oct 8, 2021

Conversation

bwanglzu
Copy link
Member

@bwanglzu bwanglzu commented Oct 8, 2021

test after calling to_embedding_model, weights are preserved.

Note:

  1. default behaviour keras and (paddle, torch) are different, weights in keras are randomly initialised. So in keras only tested pre-trained vgg16 model.
  2. only tested first layer, as not so much difference in the later layers, testing the first layer of weights is sufficient enough to prove weights did not change

@bwanglzu bwanglzu marked this pull request as draft October 8, 2021 09:31
@bwanglzu bwanglzu marked this pull request as ready for review October 8, 2021 10:30
@bwanglzu bwanglzu changed the title test(tailor): assure weights are preserved test(tailor): assure weights are preserved after calling to_embedding_model Oct 8, 2021
@hanxiao hanxiao merged commit b448a61 into main Oct 8, 2021
@hanxiao hanxiao deleted the test-assert-weights branch October 8, 2021 12:59
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.

None yet

2 participants