Skip to content

Commit

Permalink
base_model_path as param
Browse files Browse the repository at this point in the history
  • Loading branch information
svebk committed Feb 6, 2020
1 parent f3a1b61 commit 7d200aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cufacesearch/cufacesearch/searcher/searcher_lopqhbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, global_conf_in, prefix=default_prefix):
super(SearcherLOPQHBase, self).__init__(global_conf_in, prefix=prefix, pp="SearcherLOPQHBase")
# TODO: fallback bucket_name could be loaded dynamically from conf file...
#base_model_path = "https://s3-us-west-2.amazonaws.com/dig-cu-imagesearchindex/"
self.base_model_path = sef.get_
self.base_model_path = self.get_param("base_model_path", None)

# To load pickled codes files from s3 bucket
print("[{}.load_codes: log] Starting to load codes".format(self.pp))
Expand Down

0 comments on commit 7d200aa

Please sign in to comment.