Skip to content

Commit

Permalink
fixed typo. self.preprocess → self.postprocess
Browse files Browse the repository at this point in the history
  • Loading branch information
Harri Taylor authored Mar 19, 2020
1 parent b229b32 commit 547c94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvggish/vggish.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def __init__(self, urls, pretrained=True, preprocess=True, postprocess=True, pro

self.preprocess = preprocess
self.postprocess = postprocess
if self.preprocess:
if self.postprocess:
self.pproc = Postprocessor()
if pretrained:
state_dict = hub.load_state_dict_from_url(urls['pca'], progress=progress)
Expand Down

0 comments on commit 547c94c

Please sign in to comment.