From f0db9cf254ca26decd527b3446be2d72c091f488 Mon Sep 17 00:00:00 2001 From: leno3003 Date: Wed, 30 Mar 2022 15:31:06 +0200 Subject: [PATCH] added sumbmodules --- core/interact/no_interact_dict.py | 3 +++ 1 file changed, 3 insertions(+) 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)