diff --git a/core/interact/no_interact_dict.py b/core/interact/no_interact_dict.py index 44de58d..754f05f 100644 --- a/core/interact/no_interact_dict.py +++ b/core/interact/no_interact_dict.py @@ -1,4 +1,5 @@ import pickle +import os dictionary = { '4' : '\n', @@ -43,6 +44,8 @@ dictionary = { 'Degrade color power of final image' : '0', 'Color transfer to predicted face' : 'rct', } +cmd = 'mkdir ../../../workspace/interact' +os.system(cmd) with open('../../../workspace/interact/interact_dict.pkl', 'wb') as handle: pickle.dump(dictionary, handle, protocol=4)