Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created Oct 21, 2021
Embed
What would you like to do?
print ("Training...")
iteration = trainer.train_project(project.id)
while (iteration.status != "Completed"):
iteration = trainer.get_iteration(project.id, iteration.id)
print ("Training status: " + iteration.status)
print ("Waiting 25 seconds...")
time.sleep(25)
print("Training complete")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment