Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix not check generated file issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Ni committed Mar 19, 2021
1 parent c45800e commit fb412bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/config/examples/config_sharedstorage_azureblob_trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
logger.debug(os.environ.get('NNI_OUTPUT_DIR'))
filename = os.path.join(os.environ.get('NNI_OUTPUT_DIR'), 'checkingfile.txt')
f = open(filename, "a")
f.write("this is the checking file.")

tuner_params = nni.get_next_parameter()
f.write(str(tuner_params))
nni.report_final_result(1)

f.close()
except Exception as exception:
logger.exception(exception)
Expand Down

0 comments on commit fb412bc

Please sign in to comment.