from cnvrg import Experiment import time import os e = Experiment() e.log_param("test_acc", 0.6) f = open("filename_06", "a") f.write("hello") f.close() e.sync(message="my commit: 06")
import time import os from cnvrg import Experiment i = 0 while True: filename = "test-{file_idx}.log".format(file_idx=i) f = open(filename, "a") f.write("hello") f.close() Experiment.sync(message="my commit: %d" % i) time.sleep(60) i += 1