Skip to content

Commit

Permalink
enabled db write in torch7 add_to_db
Browse files Browse the repository at this point in the history
  • Loading branch information
jaberg committed Dec 21, 2011
1 parent 04a64a6 commit ac7f13d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion torch7/add_to_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def main():
else:
print "ERROR: ", line

if 0:
if 1:
print "Writing database to", sys.argv[2]
cPickle.dump(db, open(sys.argv[2], 'wb'))
else:
print "DEBUG FINAL DB:"
Expand Down

0 comments on commit ac7f13d

Please sign in to comment.