rpryzant / delete_retrieve_generate

PyTorch implementation of the Delete, Retrieve Generate style transfer algorithm
MIT License
132 stars 26 forks source link

No 'utils' #2

Closed oncebasun closed 5 years ago

oncebasun commented 5 years ago
with open(working_dir + '/stats.csv', 'w') as f:
    f.write(utils.config_val_string(config) + ',%s,%s\n' % (
        best_metric, best_epoch))

NameError: name 'utils' is not defined

rpryzant commented 5 years ago

Thanks!

See https://github.com/rpryzant/delete_retrieve_generate/commit/253abd7faabe178b2e4e1093596c544a581d8723