".github/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "b1b92f4a98442f8d820fb271272bbc24e384146e"
Unverified Commit 1f08602f authored by Myle Ott's avatar Myle Ott Committed by GitHub
Browse files

Remove unnecessary assert (fixes #199) (#200)

parent 6edf81dd
...@@ -133,7 +133,6 @@ class Dictionary(object): ...@@ -133,7 +133,6 @@ class Dictionary(object):
i += 1 i += 1
threshold_nwords += 1 threshold_nwords += 1
assert len(new_count) == self.nspecial or min(new_count[self.nspecial:]) >= threshold
assert len(new_symbols) % padding_factor == 0 assert len(new_symbols) % padding_factor == 0
assert len(new_symbols) == len(new_indices) assert len(new_symbols) == len(new_indices)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment