Skip to content

Commit 17563dc

Browse files
committed
Remove hardcoded path
1 parent ad47ad6 commit 17563dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

predict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
print('Done!')
4040

4141
print('Loading data...', end='')
42-
dev_data = load_dataset('data/dev_data.pkl')
42+
dev_data = load_dataset(args.dev_data)
4343
dev_data_gen = BatchGen(*dev_data, batch_size=args.batch_size, shuffle=False)
4444

4545
with open('data/dev_parsed.json') as f:

0 commit comments

Comments
 (0)