Skip to content

Commit

Permalink
update tools/export_model.py tools/infer_rec.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Intsigstephon committed May 17, 2022
1 parent b4d041b commit b339204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/export_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

__dir__ = os.path.dirname(os.path.abspath(__file__))
sys.path.append(__dir__)
sys.path.append(os.path.abspath(os.path.join(__dir__, "..")))
sys.path.insert(0, os.path.abspath(os.path.join(__dir__, "..")))

import argparse

Expand Down
2 changes: 1 addition & 1 deletion tools/infer_rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def main():

if info is not None:
logger.info("\t result: {}".format(info))
fout.write(file + "\t" + info)
fout.write(file + "\t" + info + "\n")
logger.info("success!")


Expand Down

0 comments on commit b339204

Please sign in to comment.