Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierfav authored Jun 16, 2020
1 parent be4f3a9 commit 997bced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from models_t1000 import AudioEncoder, TagEncoder, CNN


scaler = pickle.load(open('../scaler_top_1000.pkl', 'rb'))
id2tag = json.load(open('../json/id2token_top_1000.json', 'rb'))
scaler = pickle.load(open('./scaler_top_1000.pkl', 'rb'))
id2tag = json.load(open('./json/id2token_top_1000.json', 'rb'))
tag2id = {tag: id for id, tag in id2tag.items()}


Expand Down

0 comments on commit 997bced

Please sign in to comment.