Skip to content

Instantly share code, notes, and snippets.

@wookim3
Last active September 2, 2020 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wookim3/383db1aeda63a40b5b0d2d909b1d2e0b to your computer and use it in GitHub Desktop.
Save wookim3/383db1aeda63a40b5b0d2d909b1d2e0b to your computer and use it in GitHub Desktop.
optimizer.set_report_period(1) # setting the time gap between two consecutive reports
optimizer.start()
optimizer.wait() # wait until process is done
optimizer.stop() # make sure background optimization stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment