Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active October 21, 2021 18:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save icebeam7/e0cd8e88aed093dd45b18d8f2a3b104f to your computer and use it in GitHub Desktop.
while (export.status == "Exporting"):
print ("Waiting 10 seconds...")
time.sleep(10)
exports = trainer.get_exports(project.id, iteration_id)
# Localice la exportación para esta iteración y verifique su estado
for e in exports:
if e.platform == export.platform and e.flavor == export.flavor:
export = e
break
print("Export status is: ", export.status)
print("Export: done")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment