Skip to content

Instantly share code, notes, and snippets.

@carlosh93
Last active June 7, 2020 23:12
Show Gist options
  • Save carlosh93/aa3d837575bf1984f300a611663a318a to your computer and use it in GitHub Desktop.
Save carlosh93/aa3d837575bf1984f300a611663a318a to your computer and use it in GitHub Desktop.
Read file lines and save in array #python #basics #python.io
class_names = [c.strip() for c in open(FLAGS.classes).readlines()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment