mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-20 13:10:42 +08:00
change print to logging (#457)
* change print to logging * always use logging.info * use f-strings * update code style * set logging configs * remove unused code
This commit is contained in:
@@ -119,7 +119,7 @@ def optimize_on_cluster(hyperparams):
|
||||
job_display_name = job_display_name[0:3]
|
||||
|
||||
# run hopt
|
||||
print('submitting jobs...')
|
||||
logging.info('submitting jobs...')
|
||||
cluster.optimize_parallel_cluster_gpu(
|
||||
main,
|
||||
nb_trials=hyperparams.nb_hopt_trials,
|
||||
|
||||
Reference in New Issue
Block a user