Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants